Re: Accessing string offsets

From: Date: Sun, 11 Nov 2001 13:37:48 +0000
Subject: Re: Accessing string offsets
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70104@lists.php.net to get a copy of this message
Ok, I see. There seems to be some fuzz on Sundays so I'll try a better example (*smiles at Hartmut* :) <? $foo = array(); echo $foo[0] . "\n"; // <-- warning $foo = array(); echo @$foo[0] . "\n"; // <-- no warning $foo = "foo"; echo $foo{3} . "\n"; // <-- warning $foo = "foo"; echo @$foo{3} . "\n"; // <-- warning ?> Doesn't make sense to me. And forget the note about documention (Derick, you lied to me *ducks* :-) - Markus

« previous php.dev (#70104) next »