On Tue, 19 Nov 2002, John Coggeshall wrote: > On a sidenote, is it possible in Zend to implmement something such as: > > $string = "Foobar"; > $string = &$string[1]; > > I actually thought that would work, however upon testing it throws an > error... Just curious.
No, this would not be possible to do, as a string in PHP is an continuues range of bytes, and not an array of 'character' zvals. Reference can only be made to zvals internally. Derick -- --------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --------------[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php