浏览代码

"error_reporting" in in Boot was set to not catch E_STRICT, but the handler was catching E_STRICT. This caused problems when moving from PHP 4.3 to PHP 4.4 and above as E_ALL now includes E_STRICT.

Tarwin Stroh-Spijer 10 年之前
父节点
当前提交
2683e8b843
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/php/Boot.hx

+ 1 - 1
std/php/Boot.hx

@@ -837,7 +837,7 @@ class Enum {
 }
 
 error_reporting(E_ALL & ~E_STRICT);
-set_error_handler('_hx_error_handler', E_ALL);
+set_error_handler('_hx_error_handler', E_ALL & ~E_STRICT);
 set_exception_handler('_hx_exception_handler');
 
 php_Boot::$qtypes = array();