3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo($a, $b, $c) { return $a + $b + $c; } print foo(1, 2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k1u1Z
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                                   'foo'
          1        SEND_VAL                                                     1
          2        SEND_VAL                                                     2
          3        DO_FCALL                                          0  $0      
          4        ECHO                                                         $0
    9     5      > RETURN                                                       1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k1u1Z
function name:  foo
number of ops:  7
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        RECV                                                 !2      
    5     3        ADD                                                  ~3      !0, !1
          4        ADD                                                  ~4      ~3, !2
          5      > RETURN                                                       ~4
    6     6*     > RETURN                                                       null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
228.01 ms | 2582 KiB | 9 Q