📜  php array_push - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:36.445000             🧑  作者: Mango

代码示例6
PHP function array_push(array &$array, ...$values) int
------------------------------------------------------
Push elements onto the end of array. Since 7.3.0 this function can be called with only one parameter. 
For earlier versions at least two parameters are required.
  
Parameters:
array--$array--The input array.
mixed--...$values--[optional] The pushed variables.
  
Returns: the number of elements in the array.