diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 18:03:31 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:46:15 +0200 |
commit | d7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch) | |
tree | ef4fe3e4794260b362dad72d3542fdbef0169b8e /ext/standard/tests/array/array_shift_variation8.phpt | |
parent | b0708fa2e7b31f1fbd9539486a35d33643e62461 (diff) | |
download | php-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/array/array_shift_variation8.phpt')
-rw-r--r-- | ext/standard/tests/array/array_shift_variation8.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/array/array_shift_variation8.phpt b/ext/standard/tests/array/array_shift_variation8.phpt index 2f2fba5bd7..a48d907896 100644 --- a/ext/standard/tests/array/array_shift_variation8.phpt +++ b/ext/standard/tests/array/array_shift_variation8.phpt @@ -3,15 +3,15 @@ Test array_shift() function : usage variations - maintaining referenced elements --FILE-- <?php /* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array + * Description: Pops an element off the beginning of the array * Source code: ext/standard/array.c */ /* * From a comment left by Traps on 09-Jul-2007 on the array_shift documentation page: - * For those that may be trying to use array_shift() with an array containing references - * (e.g. working with linked node trees), beware that array_shift() may not work as you expect: - * it will return a *copy* of the first element of the array, + * For those that may be trying to use array_shift() with an array containing references + * (e.g. working with linked node trees), beware that array_shift() may not work as you expect: + * it will return a *copy* of the first element of the array, * and not the element itself, so your reference will be lost. * The solution is to reference the first element before removing it with array_shift(): */ |