Skip to content
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

About upgrade to PHP 5.4 engine #716

Closed
rdex opened this issue Mar 20, 2013 · 4 comments
Closed

About upgrade to PHP 5.4 engine #716

rdex opened this issue Mar 20, 2013 · 4 comments

Comments

@rdex
Copy link

rdex commented Mar 20, 2013

What's your schedule of upgrade HHVM to the PHP 5.4 engine? Current 5.3 engine could not process the $this inside the closure anonoymous function.

@karpa13a
Copy link

huh there is no NameSpaces currently;)

@paroski
Copy link

paroski commented Mar 22, 2013

Support for $this inside of closures has mostly been committed (though there may still be a few diffs in flight). We're planning to implement namespaces in the next few months as it is a common issue that folks are running into.

@rdex
Copy link
Author

rdex commented Mar 22, 2013

paroski, thanks for your update! Currently, i am using use ($this) to workaround it, just fine.

@sgolemon
Copy link
Contributor

sgolemon commented May 3, 2013

$this with closures should be all fixed by now, if not you should poke @ptarjan.

Coincidentally, he's also working on namespaces support and is coming fairly close. I expect we'll see support improve over the course of several commits this month.

As to a schedule of matching 5.4. We're not really focusing on version so much as catching up to HEAD (which is a moving target) and that's happening by feature/extension, rather than by version. "When" is based on impact, priority, and availability of resources.

Personally, I'd like to see us even with 5.5(ish) by year's end.

@sgolemon sgolemon closed this as completed May 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants