Array declarations

From: 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-136203@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

« previous php.general (#136203) next »