php.net |  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
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: nikic@php.net Assigned: nikic (profile)
Status: Closed Package: *General Issues
PHP Version: 5.4.0RC3 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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nikic@php.net
New email:
PHP Version: OS:

 

 [2011-12-09 17:13 UTC] nikic@php.net
Description:
------------
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.


Patches

token_get_all.patch (last revision 2011-12-09 17:15 UTC by nikic@php.net)

Pull Requests

History

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

Patch Name: token_get_all.patch
Revision:   1323450945
URL:        https://bugs.php.net/patch-display.php?bug=60486&patch=token_get_all.patch&revision=1323450945
 [2018-08-13 01:35 UTC] carusogabriel@php.net
A RFC is under discussion related to this request: https://wiki.php.net/rfc/token-get-always-tokens
 [2020-03-02 17:36 UTC] nikic@php.net
-Assigned To: +Assigned To: nikic
 [2020-04-03 10:29 UTC] nikic@php.net
-Status: Assigned +Status: Closed
 [2020-04-03 10:29 UTC] nikic@php.net
Available in PHP 8.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 02 16:01:29 2025 UTC