3v4l.org

run code in 300+ PHP versions simultaneously
<?php function addvalues ($value1=0,$value2=2,$hello=3) {$total = 1 + 6 + 3;return 10;}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHO6T
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   1

Function addvalues:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHO6T
function name:  addvalues
number of ops:  6
compiled vars:  !0 = $value1, !1 = $value2, !2 = $hello, !3 = $total
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      0
          1        RECV_INIT                                        !1      2
          2        RECV_INIT                                        !2      3
    3     3        ASSIGN                                                   !3, 10
          4      > RETURN                                                   10
          5*     > RETURN                                                   null

End of function addvalues

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.1 ms | 1392 KiB | 13 Q