note 85057 deleted from function.array-merge by nicos

From: Date: Thu, 14 Aug 2008 00:55:57 +0000
Subject: note 85057 deleted from function.array-merge by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-143477@lists.php.net to get a copy of this message
Note Submitter: ron at ronfolio dot com ---- Sorry for the double post, but the last line can be changed from: return array_combine(range(0, (count($arr) - 1)), array_values($arr)); to simply: return array_values($arr); That'll allow it to work on PHP4.

« previous php.notes (#143477) next »