Reply to Re: show array name

Your name:

Reply:


Posted by Colin Fine on 10/29/06 18:42

hygum wrote:
> is there a function, that can echo/print the name of an array, so when
> i dump the array, it also says the name? For instance:
>
> echo array_name($myarray);
>
> outputs:
> myarray
>
It's hard to see how there could be.

$myarray = array( ... );
$otherarray = &$myarray;

Then you want

array_name($myarray);

to produce a different result from

array_name($otherarray);

Do you see the problem?

Colin

[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

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