Comment 3 for bug 1268746

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2904
Committed: http://gitorious.org/mahara/mahara/commit/8d17e0710ed53001be9b74013784c1f7e5806b58
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 8d17e0710ed53001be9b74013784c1f7e5806b58
Author: Aaron Wells <email address hidden>
Date: Tue Jan 14 12:35:48 2014 +1300

Silence most E_STRICT errors

Bug 1268746: In PHP 5.4 E_ALL changed to include E_STRICT, causing Mahara to throw
a lot of strict standards errors. This should silence most of them.

HOWEVER, because most strict standards happen at compile-time, this will have no
effect on strict standards errors caused in the files that have already been
loaded by the time we call error_reporting() and set_error_handler(), which includes:
- The file invoked directly by the URL
- init.php
- errors.php
- config.php
- config-defaults.php

Change-Id: I7a7fdf7facb1f30e186a0e8a27f1c3b7473200da