Re: String parsing issue in PHP 4.3.10?

From: Date: Wed, 22 Dec 2004 17:00:38 +0000
Subject: Re: String parsing issue in PHP 4.3.10?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-204976@lists.php.net to get a copy of this message
Jason Wong wrote: > On Wednesday 22 December 2004 03:53, Richard Lynch wrote: > >> ?> can be caught by PHP as the end of PHP mode, no matter where you put >> it >> in a string or not. > > You can't be serious? Or have I misunderstood you? > > <?php echo '<?php ?>'; ?> > > Works as expected, ie displays "<?php ?>". I plead sleep deprivation, your honor. :-^ It's only in comments that ?> gets funky. Though my solution *DOES* work to solve the given problem, no? -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#204976) next »