dimanche 1 février 2015

Parse error: syntax error



PHP Parse error: syntax error, unexpected 'is' (T_STRING), expecting ',' or ';' in /var/www/html/test.php on line 3



I´ve got such an error in this short code



<?php
echo ´Hello´;
echo ´What is your name´;
$name = trim(fgets(STDIN));
echo ´Thanx,´ . $name . ´, nice to meet you.´;
?>




Aucun commentaire:

Enregistrer un commentaire