Re: String parsing issue in PHP 4.3.10?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux