3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handleError($errno, $errstr, $errfile, $errline, array $errcontext) { print_r(get_defined_vars()); exit; }set_error_handler('handleError');echo "yolololo";header("yolo:sup?");?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tO2ZX
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'handleError'
          2        DO_ICALL                                                 
          3        ECHO                                                     'yolololo'
          4        INIT_FCALL                                               'header'
          5        SEND_VAL                                                 'yolo%3Asup%3F'
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function handleerror:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/tO2ZX
function name:  handleError
number of ops:  12
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline, !4 = $errcontext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        INIT_FCALL                                               'print_r'
          6        INIT_FCALL                                               'get_defined_vars'
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                                 
         10      > EXIT                                                     
         11*     > RETURN                                                   null

End of function handleerror

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.38 ms | 1395 KiB | 21 Q