summaryrefslogtreecommitdiff
path: root/Zend/tests/array_offset.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/array_offset.phpt')
-rw-r--r--Zend/tests/array_offset.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/array_offset.phpt b/Zend/tests/array_offset.phpt
index 0879f80918..6126db9748 100644
--- a/Zend/tests/array_offset.phpt
+++ b/Zend/tests/array_offset.phpt
@@ -1,5 +1,5 @@
--TEST--
-Ensure "undefined offset" notice formats message corectly when undefined key is negative
+Ensure "undefined offset" notice formats message correctly when undefined key is negative
--FILE--
<?php
@@ -11,11 +11,11 @@ Ensure "undefined offset" notice formats message corectly when undefined key is
echo "Done\n";
?>
--EXPECTF--
-Notice: Undefined offset: -1 in %s on line 3
+Warning: Undefined array key -1 in %s on line %d
-Notice: Undefined offset: -1 in %s on line 4
+Warning: Undefined array key -1 in %s on line %d
-Notice: Undefined offset: -1 in %s on line 5
+Warning: Undefined array key -1 in %s on line %d
-Notice: Undefined offset: -1 in %s on line 6
+Warning: Undefined array key -1 in %s on line %d
Done