|
Posted by Ivαn Sαnchez Ortega on 12/20/07 19:12
Jim McCullars wrote:
> echo ?>
*ahem*. What are you echo()ing, again?
> This script does not generate any errors under 4.4.4. I did look at
> the 4 to 5 compatibility guide on the php.net site but I didn't see
> anything that would explain this. Can someone give me a hint as to why
> this no longer work under version 5? Thanks!
I'm guessing that in PHP4 a "?>" implied a ";". It still does, but if the
start and end tags are in the same line, and there is just one sentence in
between.
Just a guess - grab a copy of the parser's source code and its grammar if
you really want to be sure. In the meantime, please fix your empty
echo()es.
Cheers,
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
You never know how many friends you have until you rent a house on the
beach.
Navigation:
[Reply to this message]
|