3v4l.org

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

Function obtenerargumentos:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lWMjl
function name:  obtenerArgumentos
number of ops:  9
compiled vars:  !0 = $req, !1 = $opt, !2 = $extra
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
          2        RECV_VARIADIC                                    !2      
    3     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                                 
    4     8      > RETURN                                                   null

End of function obtenerargumentos

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.36 ms | 1397 KiB | 16 Q