note 27428 rejected from function.array-merge by betz

From: Date: Thu, 05 Dec 2002 17:05:59 +0000
Subject: note 27428 rejected from function.array-merge by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40386@lists.php.net to get a copy of this message
Does anyone know which one would gives a better performance? Using: merge function in the contact of; $a = array_merge($a, arrray("$newKey" => "$newVal")); or simply do: $a['$newKey'] = $newVal; Thank you.

« previous php.notes (#40386) next »