note 43606 deleted from function.array-splice by tomsommer

From: Date: Mon, 28 Jun 2004 12:00:25 +0000
Subject: note 43606 deleted from function.array-splice by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71998@lists.php.net to get a copy of this message
Note Submitter: Pytkin ---- Manual said : $input = array("red", "green", "blue", "yellow"); array_splice($input, 2); // $input is now array("red", "green") Try it : $input = array("red", "green", "blue", "yellow"); print_r (array_splice($input, 2)); => Array ( [0] => blue [1] => yellow )

« previous php.notes (#71998) next »