summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-10-04 14:55:44 +0400
committerDmitry Stogov <dmitry@zend.com>2014-10-04 14:55:44 +0400
commit2e1b8ba4b797388265ca4bec5be0fa31584a1323 (patch)
tree2c7e9894b31923ffa3896f0660667a17963f480e /tests
parentf1e21c4979f215112f9a30bc9e6e4a1ebd5a32de (diff)
downloadphp-git-2e1b8ba4b797388265ca4bec5be0fa31584a1323.tar.gz
Moved checks and error reporting related to static methods from DO_FCALL inti INTI_FCALL* opcodes that may really deal with static methods. (In some rare cases it may lead to different order of warning messages).
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/passByReference_005.phpt20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/lang/passByReference_005.phpt b/tests/lang/passByReference_005.phpt
index 52ddeebd1c..b90f0ce912 100644
--- a/tests/lang/passByReference_005.phpt
+++ b/tests/lang/passByReference_005.phpt
@@ -144,7 +144,7 @@ var_dump($u1, $u2);
?>
--EXPECTF--
- ---- Pass by ref / pass by val: functions ----
+---- Pass by ref / pass by val: functions ----
Notice: Undefined variable: u1 in %s on line 72
@@ -179,40 +179,40 @@ string(12) "Ref2 changed"
---- Pass by ref / pass by val: static method calls ----
-Notice: Undefined variable: u1 in %s on line 95
-
Strict Standards: Non-static method C::v() should not be called statically in %s on line 95
+Notice: Undefined variable: u1 in %s on line 95
+
Strict Standards: Non-static method C::r() should not be called statically in %s on line 96
Notice: Undefined variable: u1 in %s on line 97
NULL
string(11) "Ref changed"
+Strict Standards: Non-static method C::vv() should not be called statically in %s on line 100
+
Notice: Undefined variable: u1 in %s on line 100
Notice: Undefined variable: u2 in %s on line 100
-Strict Standards: Non-static method C::vv() should not be called statically in %s on line 100
-
Notice: Undefined variable: u1 in %s on line 101
Notice: Undefined variable: u2 in %s on line 101
NULL
NULL
-Notice: Undefined variable: u1 in %s on line 104
-
Strict Standards: Non-static method C::vr() should not be called statically in %s on line 104
+Notice: Undefined variable: u1 in %s on line 104
+
Notice: Undefined variable: u1 in %s on line 105
NULL
string(11) "Ref changed"
-Notice: Undefined variable: u2 in %s on line 108
-
Strict Standards: Non-static method C::rv() should not be called statically in %s on line 108
+Notice: Undefined variable: u2 in %s on line 108
+
Notice: Undefined variable: u2 in %s on line 109
string(11) "Ref changed"
NULL
@@ -258,4 +258,4 @@ Notice: Undefined variable: u2 in %s on line 135
string(11) "Ref changed"
NULL
string(12) "Ref1 changed"
-string(12) "Ref2 changed" \ No newline at end of file
+string(12) "Ref2 changed"