About upgrade to PHP 5.4 engine #716

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

4 participants

@rdex

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

huh there is no NameSpaces currently;)

@paroski

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

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

@sgolemon

$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