note 42797 deleted from function.array-splice by felipe

From: Date: Sat, 05 Jan 2008 02:08:42 +0000
Subject: note 42797 deleted from function.array-splice by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134818@lists.php.net to get a copy of this message
Note Submitter: cyril carrez ---- array_splice does work when replacing with objects. As stated in the manual, you have to embed the object in an array: <?php array_splice ($myarray, $offset, 0, Array($myobjet)); ?>

« previous php.notes (#134818) next »