Skip to content

[WIP] Add a new flag TOKEN_OBJECT to token_get_all(). #1727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

realityking
Copy link
Contributor

When the flag is used, toket_get_all() will return an array of PhpToken objects instead of the current mix of strings and associative arrays.

I've opened this so I have a permanent url for the mailing list. Please don't merge it (yet).

When the flag is used, toket_get_all() will return an array of PhpToken objects instead of the current mix of strings and associative arrays.
@krakjoe krakjoe added the RFC label Jan 2, 2017
@krakjoe
Copy link
Member

krakjoe commented Jan 2, 2017

@realityking fix conflicts please :)

In addition, such changes do require an internals discussion and RFC, please move forward with those things ... alternatively, if you consider this work abandoned, please close this PR.

@nikic
Copy link
Member

nikic commented Mar 2, 2017

It would be nice to evaluate performance and memory usage of this.

@nikic
Copy link
Member

nikic commented May 1, 2017

PR #2430 has an updated and optimized implementation of this feature. I've also started an internals discussion here: http://markmail.org/message/ool5j6towowawr4r Unfortunately there was no consensus on this change, so introducing it will require an RFC :/ I'm closing this for now.

@nikic nikic closed this May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants