note 42797 added to function.array-splice

From: Date: Sun, 30 May 2004 00:19:08 +0000
Subject: note 42797 added to function.array-splice
Groups: php.notes 
Request: Send a blank email to php-notes+get-70288@lists.php.net to get a copy of this message
array_splice does work when replacing with objects. As stated in the manual, you have to embed the object in an array: array_splice ($myarray, $offset, 0, Array($myobjet)); ---- Manual Page -- http://www.php.net/manual/en/function.array-splice.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42797 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42797&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42797&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70288) next »