3v4l.org

run code in 500+ PHP versions simultaneously
<?php function doSomething() { return false; } doSomething() or throw new Exception();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SXRnv
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                                   'dosomething'
          1        DO_FCALL                                          0  $0      
          2      > JMPNZ_EX                                             ~1      $0, ->7
          3    >   NEW                                                  $2      'Exception'
          4        DO_FCALL                                          0          
          5      > THROW                                             1          $2
          6*       BOOL                                                 ~1      <true>
          7    > > RETURN                                                       1

Function dosomething:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SXRnv
function name:  doSomething
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                       <false>
    6     1*     > RETURN                                                       null

End of function dosomething

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.47 ms | 1670 KiB | 14 Q