#22557 [NEW]: array_spilce($arr,0,0) deletes whole array
| From: | bitworks at freenet dot de | Date: | Wed, 05 Mar 2003 19:56:42 +0000 |
| Subject: | #22557 [NEW]: array_spilce($arr,0,0) deletes whole array | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-34915@lists.php.net to get a copy of this message | ||
From: bitworks at freenet dot de
Operating system: Linux Debian 3.0, WAMP, LINUX Su
PHP version: 4.3.1
PHP Bug Type: Arrays related
Bug description: array_spilce($arr,0,0) deletes whole array
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 bug report at http://bugs.php.net/?id=22557&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22557&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22557&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22557&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22557&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22557&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22557&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22557&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22557&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22557&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22557&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22557&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22557&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22557&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22557&r=gnused