RE: [PHP] Any difference between these 2 forms of syntax?

2002-05-11 Thread John Holmes
I am wondering if there is any tangible difference between the following two commands: $x = $foo[status]; $x = $foo['status']; The only difference to any strings enclosed in ' or is that strings enclosed in may have variables embedded within them. Strings enclosed with ' will not have

Re: [PHP] Any difference between these 2 forms of syntax?

2002-05-10 Thread php3
Addressed to: Richard Davey [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from Richard Davey [EMAIL PROTECTED] Sat, 11 May 2002 01:54:43 +0100 Hi, I am wondering if there is any tangible difference between the following two commands: $x = $foo[status]; $x =