Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

[PHP] Array declarations From: Joachim Krebs (docuk <email protected>)
Date: 02/18/03

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php