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: -
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: nikic@php.net Assigned:
Status: Open 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.
(description)
Block user comment
Status: Assign to:
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)

Add a Patch

Pull Requests

Add a Pull Request

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
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Sep 25 07:01:25 2018 UTC