3v4l.org

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

Function testargs:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p7iGP
function name:  testArgs
number of ops:  9
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
    5     2        INIT_FCALL_BY_NAME                                       'prinq_r'
          3        CONCAT                                           ~2      !0, '+-+'
          4        CONCAT                                           ~3      ~2, !1
          5        SEND_VAL_EX                                              ~3
          6        DO_FCALL                                      0  $4      
          7      > RETURN                                                   $4
    6     8*     > RETURN                                                   null

End of function testargs

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.99 ms | 1388 KiB | 14 Q