RE: [PHP] different and logic between PHP4 and PHP5

2007-03-15 Thread Vieri
--- "Ford, Mike" <[EMAIL PROTECTED]> wrote: > And I can testify from personal experience that this > has been true since the very early days of 4.0.x (in > fact, I still have a 4.0.5 installation hanging > around that I tested it on...!!), so I do not know > where the *BLEEP* the OP can have been

Re: [PHP] different and logic between PHP4 and PHP5

2007-03-13 Thread Vieri
--- Richard Lynch <[EMAIL PROTECTED]> wrote: > On Mon, March 12, 2007 1:53 pm, Vieri wrote: > > The following code: > > > > > $b=""; > > $c="df"; > > $a=($b and $c); > > Why in the world would you use 'and' on t

[PHP] different and logic between PHP4 and PHP5

2007-03-12 Thread Vieri
Hi The following code: yields: A = 0 in PHP 4 and A = in PHP 5 How can I get the same behavior in PHP5 as in PHP4 without changing the source code? Is there an option in php.ini I'm missing? Expectin