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; $g->whatami = "a highly dubious property"; } 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 = 12
Branch analysis from position: 12
2 jumps found. (Code = 162) Position 1 = 14, Position 2 = 13
Branch analysis from position: 14
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
2 jumps found. (Code = 162) Position 1 = 14, Position 2 = 13
Branch analysis from position: 14
Branch analysis from position: 13
filename:       /in/qTZLR
function name:  (null)
number of ops:  17
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
   10     6        ASSIGN_OBJ                                               !0, 'whatami'
          7        OP_DATA                                                  'a+highly+dubious+property'
          8      > JMP                                                      ->12
   11     9  E > > CATCH                                       last         'Exception'
   12    10    >   INIT_METHOD_CALL                                         !1, 'getMessage'
         11        DO_FCALL                                      0          
   14    12    > > FAST_CALL                                                ->14
         13    > > JMP                                                      ->16
   15    14    >   ECHO                                                     '%0ATidying+up+loose+ends+...+'
         15      > FAST_RET                                                 
   16    16    > > 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/qTZLR
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:
196.38 ms | 1400 KiB | 15 Q