Req #60486 [Opn]: Add parameter to token_get_all for normalized output

From: Date: Mon, 02 Mar 2020 17:36:30 +0000
Subject: Req #60486 [Opn]: Add parameter to token_get_all for normalized output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225843@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:             Open
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        5.4.0RC3
-Assigned To:        
+Assigned To:        nikic
 Block user comment: N
 Private report:     N

 New Comment:

New RFC: https://wiki.php.net/rfc/token_as_object


Previous Comments:
------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#225843) next »