summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/constants_error_002.phpt8
-rw-r--r--tests/classes/inheritance_007.phpt4
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/constants_error_002.phpt b/tests/classes/constants_error_002.phpt
index 610a42da9b..63aa22109c 100644
--- a/tests/classes/constants_error_002.phpt
+++ b/tests/classes/constants_error_002.phpt
@@ -2,10 +2,10 @@
Error case: class constant as an array
--FILE--
<?php
-class myclass
-{
- const myConst = array();
-}
+ class myclass
+ {
+ const myConst = array();
+ }
?>
===DONE===
--EXPECTF--
diff --git a/tests/classes/inheritance_007.phpt b/tests/classes/inheritance_007.phpt
index 0b2bde0350..46100449c4 100644
--- a/tests/classes/inheritance_007.phpt
+++ b/tests/classes/inheritance_007.phpt
@@ -20,14 +20,14 @@ $b->b();
--EXPECTF--
array(2) {
[0]=>
- &object(ReflectionMethod)#%d (2) {
+ object(ReflectionMethod)#%d (2) {
["name"]=>
string(1) "B"
["class"]=>
string(1) "A"
}
[1]=>
- &object(ReflectionMethod)#%d (2) {
+ object(ReflectionMethod)#%d (2) {
["name"]=>
string(1) "A"
["class"]=>