note 32172 deleted from function.array-push by alindeman

From: Date: Mon, 19 May 2003 21:04:02 +0000
Subject: note 32172 deleted from function.array-push by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48613@lists.php.net to get a copy of this message
Note Submitter: hem@hwzone.com ---- I have used a lot of array_push function in a piece of code and found it very slow. The code below works many times faster (I am using PHP 4.3.2-RC1@Win32). $array[(count($array)+1)]=$value;

« previous php.notes (#48613) next »