#22557 [Opn]: array_spilce($arr,0,0) deletes whole array
| From: | bitworks at freenet dot de | Date: | Wed, 05 Mar 2003 19:58:36 +0000 |
| Subject: | #22557 [Opn]: array_spilce($arr,0,0) deletes whole array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34916@lists.php.net to get a copy of this message | ||
ID: 22557
User updated by: bitworks at freenet dot de
Reported By: bitworks at freenet dot de
Status: Open
Bug Type: Arrays related
Operating System: Linux Debian 3.0, WAMP, LINUX Su
PHP Version: 4.3.1
New Comment:
Hello,
in former Versions the function array_splice() was able to reindex an
array typing $newarr=array_splice($oldarr,0,0)
Now this function deletes all elements from array.
How to reindex an array in php 4.3.1 ?
Regards
Tom
bitworks Braunschweig DE
PS: I didn't found solutions for this Problem. I also posted in
selfforum.teamone.de
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 13:56:42] bitworks at freenet dot de
Hello,
in former Versions the function array_splice() was able to reindex an
array typing $newarr=($oldarr,0,0)
Now this function deletes all elements from array.
How to reindex an array in php 4.3.1 ?
Regards
Tom
bitworks Braunschweig DE
PS: I didn't found solutions for this Problem. I also posted in
selfforum.teamone.de
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22557&edit=1