3v4l.org

run code in 300+ PHP versions simultaneously
<?php function besnik ($a, $b) { $e = $a + $b; echo $e; } $val = 4; $vale2 = 6; besnik (val, val2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IZQL8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $val, !1 = $vale2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 4
    8     1        ASSIGN                                                   !1, 6
    9     2        INIT_FCALL                                               'besnik'
          3        FETCH_CONSTANT                                   ~4      'val'
          4        SEND_VAL                                                 ~4
          5        FETCH_CONSTANT                                   ~5      'val2'
          6        SEND_VAL                                                 ~5
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

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

End of function besnik

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
208.57 ms | 1396 KiB | 14 Q