Re: [PHP] bug in echo function?

2002-01-19 Thread Daniel Grace
"Billy Harvey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 2002-01-18 at 13:54, Darren Gamble wrote: > > Good day, > > > > The reason that the first statement doesn't work as intended is due to the > > order that the operands are processed. > > > >

RE: [PHP] bug in echo function?

2002-01-18 Thread Billy Harvey
On Fri, 2002-01-18 at 13:54, Darren Gamble wrote: > Good day, > > The reason that the first statement doesn't work as intended is due to the > order that the operands are processed. > > The operands in the line: > > "" . ($i*8)+$j . "" > > are being processed like this: > > ("" . ($i*8))+($j

RE: [PHP] bug in echo function?

2002-01-18 Thread Darren Gamble
is. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Billy Harvey [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 12:07 PM To: Darren Gamble Cc:

RE: [PHP] bug in echo function?

2002-01-18 Thread Darren Gamble
Good day, The reason that the first statement doesn't work as intended is due to the order that the operands are processed. The operands in the line: "" . ($i*8)+$j . "" are being processed like this: ("" . ($i*8))+($j . "") If you change the line to: "" . (($i*8)+$j) . "" then you'll get