Re: [PHP4BETA] What is the following script supposed to print?

From: Date: Wed, 10 May 2000 16:47:25 +0000
Subject: Re: [PHP4BETA] What is the following script supposed to print?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-14762@lists.php.net to get a copy of this message
I wouldn´t expect that too, but Homsite renders it similar, perhaps there is a rule that users can escape from php in # comments with ?> ?? kk@netuse.de (Kristian Köhntopp) wrote:
<?php print "eins<br>"; # print "eine<?php print 'booga' ?>inhalb<br>"; print "zwei<br>"; phpinfo(); ?> This script does output eins<br>inhalb<br>"; print "zwei<br>"; phpinfo(); ?> I consider this at least unexspected, if not a bug. Kristian


« previous php.version4 (#14762) next »