daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jan 17th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $errors = null;
  2.  
  3. set_exception_handler(function($exception) use (&$errors) {
  4.   $errors = $exception;
  5.  
  6.    var_dump($exception); // works fine      
  7.  
  8. });
  9.  
  10. var_dump($errors); // give null ????
RAW Paste Data
Top