note 29902 added to language.operators.array
| From: | eurleif at ecritters dot biz | Date: | Fri, 28 Feb 2003 03:27:48 +0000 |
| Subject: | note 29902 added to language.operators.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44642@lists.php.net to get a copy of this message | ||
You can do it without the quotes, but it will first look for a constant. Run this for proof:
<?php
error_reporting(E_ALL);
$array = array(foo=>'bar');
?>
--
http://www.php.net/manual/en/language.operators.array.php
http://master.php.net/manage/user-notes.php?action=edit+29902
http://master.php.net/manage/user-notes.php?action=delete+29902
http://master.php.net/manage/user-notes.php?action=reject+29902