php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66282 add preserve_keys feature to array_shift
Submitted: 2013-12-13 07:30 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: asphp at dsgml dot com Assigned:
Status: Open Package: Arrays related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 + 35 = ?
Subscribe to this entry?

 
 [2013-12-13 07:30 UTC] asphp at dsgml dot com
Description:
------------
It would be nice to have a preserve_keys option with array_shift, just like how array_slice has that option.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-09-20 06:32 UTC] RobertBetts2294 at gmail dot com
It's frustrating when you can't find any solutions online. To better assist you, could you provide more details about the specific error message you're encountering? That way, I can try to offer a more targeted solution. (https://github.com)(https://www.utsa-blackboard.com/)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC