note 92191 added to function.list
| From: | phpscripts at cropcirclesdatabase dot org | Date: | Mon, 13 Jul 2009 19:17:24 +0000 |
| Subject: | note 92191 added to function.list | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158248@lists.php.net to get a copy of this message | ||
<?
$BigArray = array( 'Year' => '2009',
'Month' => '07',
'Day' => '13',
// ...
);*/
foreach($O as $Key => $Value)
{
${$Key} = $Value;
}
echo $Year.'.'.$Month.'.'.$Day;
?>
More easy to use with big array than :
<?
$BigArray = array('2009', '07', '13',/* ... */);
list($Year, $Month, $Day,/* ... */) = $BigArray;
echo $Year.'.'.$Month.'.'.$Day;
?>
----
Server IP: 89.31.146.176
Probable Submitter: 88.167.60.194
----
Manual Page -- http://www.php.net/manual/en/function.list.php
Edit -- https://master.php.net/note/edit/92191
Del: integrated -- https://master.php.net/note/delete/92191/integrated
Del: useless -- https://master.php.net/note/delete/92191/useless
Del: bad code -- https://master.php.net/note/delete/92191/bad+code
Del: spam -- https://master.php.net/note/delete/92191/spam
Del: non-english -- https://master.php.net/note/delete/92191/non-english
Del: in docs -- https://master.php.net/note/delete/92191/in+docs
Del: other reasons-- https://master.php.net/note/delete/92191
Reject -- https://master.php.net/note/reject/92191
Search -- https://master.php.net/manage/user-notes.php