summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/array_access_001.phpt4
-rw-r--r--tests/classes/array_access_002.phpt4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/classes/array_access_001.phpt b/tests/classes/array_access_001.phpt
index 9b3d8891eb..82f96d5239 100644
--- a/tests/classes/array_access_001.phpt
+++ b/tests/classes/array_access_001.phpt
@@ -96,12 +96,16 @@ array(4) {
}
===EMPTY===
object::offsetExists(0)
+object::offsetGet(0)
bool(false)
object::offsetExists(1)
+object::offsetGet(1)
bool(false)
object::offsetExists(2)
+object::offsetGet(2)
bool(false)
object::offsetExists(4th)
+object::offsetGet(4th)
bool(false)
object::offsetExists(5th)
bool(true)
diff --git a/tests/classes/array_access_002.phpt b/tests/classes/array_access_002.phpt
index 7aebb035a0..fd08eb3946 100644
--- a/tests/classes/array_access_002.phpt
+++ b/tests/classes/array_access_002.phpt
@@ -96,12 +96,16 @@ array(4) {
}
===EMPTY===
object::offsetExists(0)
+object::offsetGet(0)
bool(false)
object::offsetExists(1)
+object::offsetGet(1)
bool(false)
object::offsetExists(2)
+object::offsetGet(2)
bool(false)
object::offsetExists(4th)
+object::offsetGet(4th)
bool(false)
object::offsetExists(5th)
bool(true)