On 02/19/2014 05:49 AM, Antoine Musso wrote:
A requirement Wikimedia has nowadays is that the code MUST be supported
with HipHop Virtual Machine.  As an example, I do not think it
implements the SPL classes. So that needs to be carefully checked.

A good number of them are available now (https://github.com/facebook/hhvm/tree/master/hphp/system/php/spl). I don't know if they all are.

Tyler Romeo worked on some of this (https://github.com/facebook/hhvm/pull/807).

Another very important point is whether we want to actually use 5.4 new
features.  Reviewing the list of 5.3 new features:

* namespaces : we did not see a good use case for them

It's useful for extensions. That way, an extension doesn't have to worry about the names of core classes, or future extensions, and it doesn't have to have prefixes in the class name itself.

* Constants declared with 'const' : we use define()

I've been using const.  It's nicer syntax.

Matt Flaschen


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to