note 38720 rejected from function.array-splice by sp

From: Date: Sun, 04 Jan 2004 22:24:32 +0000
Subject: note 38720 rejected from function.array-splice by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62908@lists.php.net to get a copy of this message
Note Submitter: bharat@menalto.com ---- The example says that: array_shift($input) is equivalent to: array_splice($input, -1) but that's not right. it's equivalent to: array_splice($input, 0, 1)

« previous php.notes (#62908) next »