From: Edward Date: Wed, 21 Nov 2018 09:04:59 +0000 (+0800) Subject: Process/Php7.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f8faad5b7e85b40974fb0972eb445d2952d19043 Process/Php7.php --- diff --git a/Process/Php7.php b/Process/Php7.php index 45f225d7..98dba91f 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -25,6 +25,11 @@ class Pman_Core_Process_Php7 extends Pman function get($base, $opts = array()) { + set_error_handler(function ($errno, $errstr, $errfile, $errline ){ +// throw new ErrorException($errstr, $errno, 0, $errfile, $errline); + echo "{$errno}\n"; + }); + $this->scan(); }