|
Posted by Michael Fesser on 11/26/06 20:54
..oO(Mladen Gogala)
>Your type conversion is a mortal sin and may cost you dearly when you meet
>the Great Programmer. Repent, o sinner, change thy evil ways and do
>something like this:
>
>$zere="345678";
>$zee=preg_split('//',$zere,-1,PREG_SPLIT_NO_EMPTY);
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
>Your "settype" trick would be neat,
>had it worked.
It _does_ work.
Micha
Navigation:
[Reply to this message]
|