3v4l.org

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

Function testargs:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hZt8S
function name:  testArgs
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'implode'
          1        SEND_VAL                                                 '%2C'
          2        FUNC_GET_ARGS                                    ~0      
          3        SEND_VAL                                                 ~0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
    5     6*     > RETURN                                                   null

End of function testargs

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.88 ms | 1401 KiB | 16 Q