3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handleError( $errno, $errstr, $errfile, $errline ) { if ( E_RECOVERABLE_ERROR === $errno ) { echo $errstr; } } set_error_handler( 'handleError' ); try{ $g = new Generator; } catch (Exception $e) { $e->getMessage(); } finally { echo "\nTidying up loose ends ... "; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 162) Position 1 = 12, Position 2 = 11
Branch analysis from position: 12
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 7
Branch analysis from position: 7
2 jumps found. (Code = 107) Position 1 = 8, Position 2 = -2
Branch analysis from position: 8
2 jumps found. (Code = 162) Position 1 = 12, Position 2 = 11
Branch analysis from position: 12
Branch analysis from position: 11
filename:       /in/GlXEg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $g, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'handleError'
          2        DO_ICALL                                                 
    9     3        NEW                                              $4      'Generator'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $4
          6      > JMP                                                      ->10
   10     7  E > > CATCH                                       last         'Exception'
   11     8    >   INIT_METHOD_CALL                                         !1, 'getMessage'
          9        DO_FCALL                                      0          
   13    10    > > FAST_CALL                                                ->12
         11    > > JMP                                                      ->14
   14    12    >   ECHO                                                     '%0ATidying+up+loose+ends+...+'
         13      > FAST_RET                                                 
   15    14    > > RETURN                                                   1

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

End of function handleerror

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155 ms | 1396 KiB | 15 Q