|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60486 Add parameter to token_get_all for normalized output
Submitted: 2011-12-09 17:13 UTC Modified: 2020-04-03 10:29 UTC
Avg. Score:3.7 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: Assigned: nikic (profile)
Status: Closed Package: *General Issues
PHP Version: 5.4.0RC3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2011-12-09 17:13 UTC]
A all_tokens_as_arrays parameter should be added to token_get_all which would result in it returning a normalized output, i.e. return arrays for all tokens, including single char tokens.


token_get_all.patch (last revision 2011-12-09 17:15 UTC by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-09 17:15 UTC]
The following patch has been added/updated:

Patch Name: token_get_all.patch
Revision:   1323450945
 [2018-08-13 01:35 UTC]
A RFC is under discussion related to this request:
 [2020-03-02 17:36 UTC]
-Assigned To: +Assigned To: nikic
 [2020-04-03 10:29 UTC]
-Status: Assigned +Status: Closed
 [2020-04-03 10:29 UTC]
Available in PHP 8.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 21:01:25 2020 UTC