3v4l.org

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

Function process:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9TkE1
function name:  process
number of ops:  7
compiled vars:  !0 = $c, !1 = $d, !2 = $e, !3 = $retval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      25
    3     2        BIND_GLOBAL                                              !2, 'e'
    4     3        ADD                                              ~4      !0, !1
          4        SUB                                              ~5      ~4, !2
          5        ASSIGN                                                   !3, ~5
    5     6      > RETURN                                                   null

End of function process

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.03 ms | 1397 KiB | 14 Q