Array declarations
| From: | Joachim Krebs | Date: | Tue, 18 Feb 2003 21:56:51 +0000 |
| Subject: | Array declarations | ||
| References: | 1 2 | Groups: | php.general php.general php.general |
| Request: | Send a blank email to php-general+get-136068@lists.php.net to get a copy of this message | ||
Is there any speed difference at all from the following two code
blocks (miniscule or not)? If so, which is faster?
$cfg["db"]["host"] = "xxxx";
$cfg["db"]["user"] = "yyyy";
$cfg["db"]["pass"] = "zzzz";
or
$cfg["db"] = array("host"=>"xxxx",
"user"=>"yyyy", "pass"=>"zzzz");
Joachim