RE: [PHP] syntax error, unexpected T_STRING

From: Date: Mon, 18 Jul 2005 19:27:47 +0000
Subject: RE: [PHP] syntax error, unexpected T_STRING
Groups: php.general 
Request: Send a blank email to php-general+get-218900@lists.php.net to get a copy of this message
> Thanks JM! > It was another one of my usual mistakes :P > Forgot the semicolon. I don't underestand why you have to put > in so many > semicolons... Hmm.. Is it a thing from C or something? When I see that T_STRING error, missing semicolon is the first thing I look for. I don't know the history of the semicolon, but I imagine the need for them is rooted in the necessity for PHP to know where a line of code ends and the next one starts. Just a guess. ;o) JM

« previous php.general (#218900) next »