3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handleError( $errno, $errstr, $errfile, $errline ) { if ( E_RECOVERABLE_ERROR === $errno ) { echo $errstr, "\n"; } } set_error_handler( 'handleError' ); $g = new Generator; $g->whatami = "a highly dubious property"; echo "\nAnd, the code rocks on ... ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tWrcM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'handleError'
          2        DO_ICALL                                                 
    8     3        NEW                                              $2      'Generator'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    9     6        ASSIGN_OBJ                                               !0, 'whatami'
          7        OP_DATA                                                  'a+highly+dubious+property'
   10     8        ECHO                                                     '%0AAnd%2C+the+code+rocks+on+...+'
          9      > RETURN                                                   1

Function handleerror:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/tWrcM
function name:  handleError
number of ops:  9
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
    3     4        IS_IDENTICAL                                             !0, 4096
          5      > JMPZ                                                     ~4, ->8
    4     6    >   ECHO                                                     !1
          7        ECHO                                                     '%0A'
    6     8    > > RETURN                                                   null

End of function handleerror

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.83 ms | 1387 KiB | 15 Q