[PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Daevid Vincent
Here, try this bullshit... I can't upgrade to a more recent version as I'm not in control of the server, but I've tried it with both 4.1.2 and 4.2.3 on linux with a RH install. Can anyone confirm or dispute this bug exists in later versions? How does a parsing error like this go un-noticed for

Re: [PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Leif K-Brooks
Works fine for me, php 4.2.1. Daevid Vincent wrote: Here, try this bullshit... I can't upgrade to a more recent version as I'm not in control of the server, but I've tried it with both 4.1.2 and 4.2.3 on linux with a RH install. Can anyone confirm or dispute this bug exists in later versions?

Re: [PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Rasmus Lerdorf
I don't see a parse error, but the order of things is not going to be what you want because it is going to run the function and thus do the echo inside alarmLightYMD() before it does the outermost echo. If it had done anything else it would really have been a bug. -Rasmus On Fri, 4 Apr 2003,

Re: [PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Pablo
On 04/04/2003 7:06 PM, Daevid Vincent ([EMAIL PROTECTED]) wrote: Here, try this bullshit... Try this. Change this line: echo TD.alarmLightMySQL()./TD; to this, and you will get the expected result: echo TD,alarmLightMySQL(),/TD; It appears that one cannot concatenate a string with a

Re: [PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Leif K-Brooks
Of course you can concatenate a string with a function! It works perfectly for me. Pablo wrote: On 04/04/2003 7:06 PM, Daevid Vincent ([EMAIL PROTECTED]) wrote: Here, try this bullshit... Try this. Change this line: echo TD.alarmLightMySQL()./TD; to this, and you will get the

Re: [PHP] Found a bug in 4.2.3 re: TD and echo vs. ?php?

2003-04-04 Thread Pablo
On 04/04/2003 11:20 PM, Leif K-Brooks ([EMAIL PROTECTED]) wrote: Of course you can concatenate a string with a function! It works perfectly for me. So both tables in the output look the same? Not for me under PHP 4.3.0: (1) TRIMG SRC='images/light_red.gif'TD/TDTDthis fails!/TD/TR (2) TR