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

rdex opened this Issue Mar 20, 2013 · 4 comments


None yet
4 participants

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.


This comment has been minimized.

karpa13a commented Mar 20, 2013

huh there is no NameSpaces currently;)


This comment has been minimized.

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.


This comment has been minimized.

rdex commented Mar 22, 2013

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


This comment has been minimized.


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 May 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment