Reply to Re: How does PHP store strings?

Your name:

Reply:


Posted by Taras_96 on 02/05/07 05:33

On Feb 4, 7:24 pm, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Taras_96 wrote:
> > This behaviour leads me to believe that strings in PHP are something
> > more than just null-terminated byte sequences in PHP.
>
> Correct. Internally, PHP stores the integer length of the string as well
> as the data itself, so it knows how long the string is, and doesn't get
> fooled by NULL bytes part-way along the string.

Ah hah! Thanks for that, it clears a few things up for me

Taras

[Back to original 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

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