3v4l.org

run code in 300+ PHP versions simultaneously
<?php //error_reporting(-1 & ~E_USER_DEPRECATED); set_error_handler( function ($errno, $errstr, $errfile, $errline) { echo 'error'; } ); trigger_error('toto', E_USER_DEPRECATED);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XDkQA
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'set_error_handler'
    7     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FXDkQA%3A7%240'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   10     4        INIT_FCALL                                               'trigger_error'
          5        SEND_VAL                                                 'toto'
          6        SEND_VAL                                                 16384
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FXDkQA%3A7%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XDkQA
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        ECHO                                                     'error'
          5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FXDkQA%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.34 ms | 1395 KiB | 17 Q