Re: [PHP4BETA] Parse error

From: Date: Fri, 04 Feb 2000 11:01:04 +0000
Subject: Re: [PHP4BETA] Parse error
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9798@lists.php.net to get a copy of this message
At 12:06 PM 2/4/00 +0200, Vadim Tkachenko wrote the following: >I have two scripts (attached to this letter) > >testif1.phtml - all work ok! >testif2.phtml - Parse error: parse error in >/home/www/www.u/pre3/testif2.phtml on line 19 (last line in this script) > >But this scripts differences only comment line!! http://www.php.cz/manual/language.basic-syntax.comments.php3 says: The "one-line" comment styles actually only comment to the end of the line or the current block of PHP code, whichever comes first. The shell-like comment works only until it finds the closing tag in <?=SID?> in your commented line. Bye ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. <mailto:cynic@mail.cz>mailto:cynic@mail.cz ICQ: 2808 2505

« previous php.version4 (#9798) next »