Re: [PHP-DEV] Accessing string offsets

2001-11-11 Thread Markus Fischer
Ok, I see. There seems to be some fuzz on Sundays so I'll try a better example (*smiles at Hartmut* :) Doesn't make sense to me. And forget the note about documention (Derick, you lied to me *ducks* :-) - Markus -- PHP Development Mailing List To unsubscribe, e-mail: [

Re: [PHP-DEV] Accessing string offsets

2001-11-11 Thread Markus Fischer
On Sun, Nov 11, 2001 at 03:17:42PM +0100, Hartmut Holzgraefe wrote : > Markus Fischer wrote: > > > >$string = "foo"; > >echo $string[3] . "\n"; > >?> > > > >gives > > > >-(1) : Warning - Uninitialized string offset: 3 > > you should use $string{3} instead Because it looks kewler and produces

Re: [PHP-DEV] Accessing string offsets

2001-11-11 Thread Hartmut Holzgraefe
Markus Fischer wrote: > $string = "foo"; > echo $string[3] . "\n"; > ?> > > gives > > -(1) : Warning - Uninitialized string offset: 3 you should use $string{3} instead -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,