Re: Strange string stuff -- maybe everything is ending...

From: Date: Sat, 22 Dec 2012 16:50:16 +0000
Subject: Re: Strange string stuff -- maybe everything is ending...
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-319942@lists.php.net to get a copy of this message
On Dec 21, 2012, at 8:06 PM, Jim Giner <jim.giner@albanyhandball.com> wrote: >> That actually makes sense tho. Afterall, a string is truly only one memory allocation >> whereas array elements are basically multiple vars having the same name. So - how can you unset one >> char in a string? It depends upon the language -- while it is true that the start of a string is located at a memory address, the chars of the string are identical to the chars in an array. As such, you can view a string as an array. Each index is representative of a char (one byte) in the string. Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#319942) next »