Req #60486 [Asn->Csd]: Add parameter to token_get_all for normalized output
| From: | nikic@php.net | Date: | Fri, 03 Apr 2020 10:29:52 +0000 |
| Subject: | Req #60486 [Asn->Csd]: Add parameter to token_get_all for normalized output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226420@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60486&edit=1
ID: 60486
Updated by: nikic@php.net
Reported by: nikic@php.net
Summary: Add parameter to token_get_all for normalized output
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.4.0RC3
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Available in PHP 8.
Previous Comments:
------------------------------------------------------------------------
[2020-03-02 17:36:30] nikic@php.net
New RFC: https://wiki.php.net/rfc/token_as_object
------------------------------------------------------------------------
[2018-08-13 01:35:43] carusogabriel@php.net
A RFC is under discussion related to this request: https://wiki.php.net/rfc/token-get-always-tokens
------------------------------------------------------------------------
[2011-12-09 17:15:45] 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
------------------------------------------------------------------------
[2011-12-09 17:13:10] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60486&edit=1