Bug #15074 Updated: unset does not work on an array
| From: | rasmus@php.net | Date: | Wed, 16 Jan 2002 19:17:09 +0000 |
| Subject: | Bug #15074 Updated: unset does not work on an array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77291@lists.php.net to get a copy of this message | ||
ID: 15074
Updated by: rasmus
Reported By: wilfried.trinkl@maxmobil.at
Old Status: Open
Status: Bogus
Bug Type: Arrays related
Operating System: Sun Solaris 8
PHP Version: 4.1.0
New Comment:
lose the []'s
unset works fine on arrays.
Previous Comments:
------------------------------------------------------------------------
[2002-01-16 14:14:01] wilfried.trinkl@maxmobil.at
When I use this statement:
unset($testarray[]);
Output:
Fatal error: Cannot use [] for unsetting in test.php on line 101
This already worked on PHP4.0.6--
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15074&edit=1