소스 검색

"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();