3v4l.org

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

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.22 ms | 1397 KiB | 19 Q