summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_shift_variation8.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_shift_variation8.phpt')
-rw-r--r--ext/standard/tests/array/array_shift_variation8.phpt8
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():
*/