3v4l.org

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

Function countarrays:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OqOoN
function name:  countArrays
number of ops:  4
compiled vars:  !0 = $arrs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_VARIADIC                                    !0      
    4     1        COUNT                                            ~1      !0
          2        ECHO                                                     ~1
    5     3      > RETURN                                                   null

End of function countarrays

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.68 ms | 1396 KiB | 15 Q