note 92191 deleted from function.list by danbrown
| From: | danbrown@php.net | Date: | Mon, 13 Jul 2009 19:18:30 +0000 |
| Subject: | note 92191 deleted from function.list by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158249@lists.php.net to get a copy of this message | ||
Note Submitter: phpscripts at cropcirclesdatabase dot org
----
<?
$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;
?>