3v4l.org

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

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

End of function x

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.5 ms | 1397 KiB | 14 Q