note 44757 added to tokens
| From: | hyena at osu1 dot php dot net | Date: | Sun, 15 Aug 2004 18:36:41 +0000 |
| Subject: | note 44757 added to tokens | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74724@lists.php.net to get a copy of this message | ||
I think the following might provide for a deeper understanding of what alan was demonstrating.
Please also see the section on variable variables for more.
<?php
$yum = 'boobies';
$boobies = 'yum';
echo "$yum <br>\n";
echo "${yum} <br>\n";
echo "$boobies <br>\n";
echo "${$yum} <br>\n";
echo "${${$boobies}} <br>\n";
echo "${${$$boobies}} <br>\n";
echo "${${$${$yum}}} <br>\n";
echo "on a girl that's dumb ;)";
?>
----
Manual Page -- http://www.php.net/manual/en/tokens.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44757
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44757&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44757&report=yes
Search -- http://master.php.net/manage/user-notes.php