3v4l.org

run code in 500+ PHP versions simultaneously
<?php /** @param int $i */ function doFoo($i) { if ($i) { } } doFoo('1');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5b3vO
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'dofoo'
          1        SEND_VAL                                                     '1'
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function dofoo:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 2
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/5b3vO
function name:  doFoo
number of ops:  3
compiled vars:  !0 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1      > JMPZ                                                         !0, ->2
    8     2    > > RETURN                                                       null

End of function dofoo

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
126.16 ms | 478 KiB | 8 Q