Warning: file_put_contents(): Only -1 of 76 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
Syntaksi Kommentointi PHP Manual Lausekkeiden erottelu Lausekkeet erotellaan samalla tavalla kuten C:ssä tai Perlissä - jokainen lauseke päätetään puolipisteeseen. Lopetustagi (?>) lopetta...
Forum und email

Lausekkeiden erottelu

Lausekkeet erotellaan samalla tavalla kuten C:ssä tai Perlissä - jokainen lauseke päätetään puolipisteeseen.

Lopetustagi (?>) lopettaa myös lausekkeen, joten seuraavilla lausekkeilla on täysin sama merkitys:

<?php
    
echo "Tämä on koe";
?>

<?php echo "Tämä on koe" ?>