Advertisement
Guest User

Untitled

a guest
May 31st, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <?php
  2. function shutdown()
  3. {
  4.     $a=error_get_last();
  5.     if($a==null)  
  6.         echo "No errors";
  7.     else
  8.          print_r($a);
  9.    
  10. }
  11. register_shutdown_function('shutdown');
  12. ini_set('max_execution_time',1 );
  13. sleep(3);
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement