3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = false; function f() { echo "aaa"; } if (b && f()) { }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
Branch analysis from position: 6
filename:       /in/ujbCK
function name:  (null)
number of ops:  8
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <false>
    9     1        FETCH_CONSTANT                                   ~2      'b'
          2      > JMPZ_EX                                          ~2      ~2, ->6
          3    >   INIT_FCALL                                               'f'
          4        DO_FCALL                                      0  $3      
          5        BOOL                                             ~2      $3
          6    > > JMPZ                                                     ~2, ->7
          7    > > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ujbCK
function name:  f
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'aaa'
    8     1      > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.21 ms | 1397 KiB | 14 Q