3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handleError( $errno, $errstr, $errfile, $errline ) { if ( E_RECOVERABLE_ERROR === $errno ) { //echo "<h2 class='error'>" . $errstr . '<br>'; } } set_error_handler( 'handleError' ); $g = new Generator; $g->whatami = "a highly dubious property"; echo nl2br( "\n\nThe code rocks on ... \n\n" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/glsTY
function name:  (null)
number of ops:  13
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'
   12     8        INIT_FCALL                                               'nl2br'
          9        SEND_VAL                                                 '%0A%0AThe+code+rocks+on+...+%0A%0A'
         10        DO_ICALL                                         $6      
         11        ECHO                                                     $6
         12      > RETURN                                                   1

Function handleerror:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/glsTY
function name:  handleError
number of ops:  7
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, ->6
    6     6    > > RETURN                                                   null

End of function handleerror

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.72 ms | 940 KiB | 18 Q