|
Posted by gosha bine on 05/16/07 11:55
On 16.05.2007 13:32 NoWhereMan wrote:
> On Tue, 15 May 2007 22:13:23 +0100, Toby A Inkster wrote:
>
>> NoWhereMan wrote:
>>
>>> I'm not sure they're not garbage collected as, say, arrays; in fact strings
>>> are always array of chars,
>> No, they're not. Strings are arrays of characters in C, but not in PHP
>> where they're a primitive data type -- nothing to do with arrays.
>
> oc course, what I meant is that *internally* they should be vectors of
> chars, as there's no such thing like a primitive string datatype in C
>
Nor there are "vectors" or "arrays".
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
[Back to original message]
|