php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12284 negative limits in explode()
Submitted: 2001-07-20 10:16 UTC Modified: 2005-06-29 12:21 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: andrew at andrew dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: any
Private report: No CVE-ID: None
 [2001-07-20 10:16 UTC] andrew at andrew dot org
wouldn't it be nice if one could specify a negative parameter as a limit for explode(), to merge entries at the beginning rather than at the ending of the exploding string?

sure it would burden the syntax a little, but could be useful.
andrew

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-29 12:21 UTC] nlopess@php.net
Implemented in PHP 5.1.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC