|
Posted by Mladen Gogala on 11/27/06 07:25
On Sun, 26 Nov 2006 21:54:36 +0100, Michael Fesser wrote:
> Eh?
>
>>BTW, your assumption about C-ish equivalent between strings and arrays
>>does not hold water in the PHP world.
>
> Of course it does.
>
> http://www.php.net/manual/en/language.types.string.php#language.types.string.substr
PHP allows me to address particular characters of the string by using []
notation, but I remember having difficulties with numeric operations, when
using that.
>
>>Your "settype" trick would be neat,
>>had it worked.
>
> It _does_ work.
With settype? No, it doesn't. You can't convert from an array to string
and back just like that. His code proves the opposite.
--
http://www.mladen-gogala.com
Navigation:
[Reply to this message]
|