Reply to Re: [PHP] Creating a varable with a name held in a string

Your name:

Reply:


Posted by Richard Lynch on 02/11/05 19:30

Ben Edwards wrote:
> From the manual
>
> "For each key/value pair it will create a variable in the current symbol
> table".
>
> What exactly is a simble table?

Internally, PHP stores variables in an array.

That array is sometimes referred to as a "symbol table" because each
symbol (variable name) is listed in the table with its value.

var_dump($GLOBALS);

is pretty much "the symbol table" for all intents and purposes to a PHP
script.

Down in the guts of PHP source, it's probably just a tad bit more
complicated than that :-)

For starters, do a little research on "reference counting" if you want to
make your head spin a bit.

--
Like Music?
http://l-i-e.com/artists.htm

[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

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