php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #9558 array hanling
Submitted: 2001-03-05 06:32 UTC Modified: 2002-02-17 00:00 UTC
From: vgo at nrd dot lt Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: All OS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vgo at nrd dot lt
New email:
PHP Version: OS:

 

 [2001-03-05 06:32 UTC] vgo at nrd dot lt
There are no normal delete from array (by the key) there are no possibility to get last, first element without altering the array itself (or to examine the element), in general in PHP the array is the list replacement (2 in 1)(for ex. in C++ we have to separate types/classes: array and the list)  but there are no list functionality. If this will cause performance loses then new type creation sugested.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-06 13:22 UTC] jan@php.net
what about unlink($array['key']); $first=$array[0]; and $last=$array[count($array)-1]. ?
 [2002-02-17 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC