3v4l.org

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

Function testdefaults:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0NpOr
function name:  testdefaults
number of ops:  6
compiled vars:  !0 = $test, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      'this'
          1        RECV_INIT                                        !1      2
    4     2        CONCAT                                           ~2      !0, '+'
          3        CONCAT                                           ~3      ~2, !1
          4        ECHO                                                     ~3
    5     5      > RETURN                                                   null

End of function testdefaults

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.1 ms | 1397 KiB | 14 Q