Re: [PHP] Array declarations

2003-02-19 Thread Ernest E Vogelsinger
At 22:56 18.02.2003, Joachim Krebs spoke out and said: [snip] >Is there any speed difference at all from the following two code >blocks (miniscule or not)? If so, which is faster? > >$cfg["db"]["host"] = ""; >$cfg["db"]["user"] = ""; >$cfg["db"]["pass

[PHP] Array declarations

2003-02-18 Thread Joachim Krebs
Is there any speed difference at all from the following two code blocks (miniscule or not)? If so, which is faster? $cfg["db"]["host"] = ""; $cfg["db"]["user"] = ""; $cfg["db"]["pass"] = ""; or $cfg["db"] = array("host"=>"", "user"=>"", "pass"=>""); Joachim -- PHP Ge