|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-27 20:47 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jun 21 12:00:01 2026 UTC |
Description: ------------ I learn PHP and I know that we have to type the ; character in the end of every line.. and one time I forgot to type ; in line 3 (mysql_select_db("magazine")) and I didn't get any error about this! I must get an error: Parse error: parse error, unexpected T_STRING... please fix it... :-) Reproduce code: --------------- <?php mysql_connect("localhost","nimce",""); mysql_select_db("magazine") ?> Expected result: ---------------- I must get an error: Parse error: parse error, unexpected T_STRING because I forgot to type ; in the end of the line 3: mysql_select_db("magazine") Actual result: -------------- I didn't get any error message...