You are here: Re: problem with multiple conditions « PHP Programming Language « IT news, forums, messages
Re: problem with multiple conditions

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация