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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC