On Apr 12, 2008, at 6:18 PM, Casey wrote:

On Sat, Apr 12, 2008 at 9:12 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
On Fri, Apr 11, 2008 at 6:33 PM, Daniel Kolbo <[EMAIL PROTECTED]> wrote:

 search the archives ;)

 http://www.mail-archive.com/php-general@lists.php.net/msg224626.html

 -nathan
<?php
function ReturnArray() {
return array('a' => 'f', 'b' => 'g', 'c' => 'h', 'd' => 'i', 'e' => 'j');
}

echo ${!${!1}=ReturnArray()}['a']; // 'f'
?>

:)
--
-Casey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




WOW!! PHP always surprises me, this is the pros of PHP not being strict type language.

Igor Jocic
http://www.carster.us/




Reply via email to