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 the same output ? :) I tested this already too. And see my note about it in the second part of my mail. - Markus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]