You are here: Re: string concat vs. join/implode « PHP Programming Language « IT news, forums, messages
Re: string concat vs. join/implode

Posted by Toby A Inkster on 05/15/07 21:13

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.

If you need proof:
echo (is_array("Hello")?"Strings are arrays":"Strings are NOT arrays");

--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux

 

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

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