Parse error: syntax error, unexpected T_DNUMBER, expecting ',' or ';'
This error occur when a number comes when expecting a string .
For example the following code produces error because a string is concatenated with integer.
<?php
echo "example".1;
?>
php error -(Parse error: syntax error, unexpected T_DNUMBER, expecting ',' or ';')
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment