Skip to content

Commit

Permalink
Improve docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel authored Jul 22, 2019
1 parent 12790b8 commit 652ae3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions standard/standard_8.php
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,8 @@ function array_shift (array &$array) {}

/**
* Prepend elements to the beginning of an array
* Since 7.3.0 this function can be called with only one parameter.
* For earlier versions at least two parameters are required.
* @link https://php.net/manual/en/function.array-unshift.php
* @param array $array <p>
* The input array.
Expand All @@ -1040,6 +1042,8 @@ function array_shift (array &$array) {}
* The prepended variables.
* </p>
* @return int the number of elements in the array.
* @since 4.0
* @since 5.0
*/
function array_unshift (array &$array, ...$vars) {}

Expand Down

0 comments on commit 652ae3c

Please sign in to comment.