summaryrefslogtreecommitdiff
path: root/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/arrayObject_exchangeArray_basic3.phpt')
-rw-r--r--ext/spl/tests/arrayObject_exchangeArray_basic3.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt b/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt
index 1dc93ceaa9..d05a635500 100644
--- a/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt
+++ b/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt
@@ -83,7 +83,7 @@ array(2) {
--> exchangeArray() with no arg:
Exception: ArrayObject::exchangeArray() expects exactly 1 parameter, 0 given
-Warning: Undefined variable: copy in %s on line %d
+Warning: Undefined variable $copy in %s on line %d
object(ArrayObject)#2 (1) {
["storage":"ArrayObject":private]=>
object(C)#3 (2) {
@@ -105,7 +105,7 @@ NULL
--> exchangeArray() with bad arg type:
Exception:Passed variable is not an array or object
-Warning: Undefined variable: copy in %s on line %d
+Warning: Undefined variable $copy in %s on line %d
object(ArrayObject)#3 (1) {
["storage":"ArrayObject":private]=>
object(C)#2 (2) {