3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { function boolThing(boolean $check) { echo "hererer"; } boolThing(false); } catch(Exception $e) { boolThing(false); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GKt3C
function name:  (null)
number of ops:  10
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_FUNCTION                                         'boolthing'
    9     1        INIT_FCALL_BY_NAME                                       'boolThing'
          2        SEND_VAL_EX                                              <false>
          3        DO_FCALL                                      0          
          4      > JMP                                                      ->9
   12     5  E > > CATCH                                       last         'Exception'
   14     6    >   INIT_FCALL_BY_NAME                                       'boolThing'
          7        SEND_VAL_EX                                              <false>
          8        DO_FCALL                                      0          
   15     9    > > RETURN                                                   1

Function %00boolthing%2Fin%2FGKt3C%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GKt3C
function name:  boolThing
number of ops:  3
compiled vars:  !0 = $check
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        ECHO                                                     'hererer'
    7     2      > RETURN                                                   null

End of function %00boolthing%2Fin%2FGKt3C%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.35 ms | 1394 KiB | 13 Q