Process/Php7.php
[Pman.Core] / Process / Php7.php
index 45f225d..98dba91 100644 (file)
@@ -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();
     }