-
Improvement
-
Resolution: Deferred
-
Major
-
None
-
2.9
-
MOODLE_29_STABLE
-
php7_fixes
-
AFAIK the only remaining core issues needed for PHP7 (MDL-50565) to work are:
1) Handful of syntax errors (improper break/continue, duplicate function args)
2) deprecated PHP4 style constructor usage in core and bundled libs
3) Testing, core handler, should gracefully deal with new Throwables
4) eval() may throw new ParseError and other Throwables
I've resolved these with some help from tests and a script to perform the bulk deprecated constructor updates (see: https://gist.github.com/tlevi/dd7930026cb5b0ef7b97) - this uses a proper php-parser, so it is a little more reliable than what I could cobble together with sed.
- has a non-specific relationship to
-
MDL-50926 Upgrade to phpunit 4.x
- Closed
- is blocked by
-
MDL-52279 filterobject in lib/filterlib.php should have a proper constructor for php7
- Closed
- will be (partly) resolved by
-
MDL-51764 Move debugging() to lib/setup.php
- Open
- will help resolve
-
MDL-50565 Prepare Moodle for PHP7
- Closed