com php-src: Wrong expectation in test (The error "Non-static method A::A_ftk() should not be called statically " is reported on caller side, so
backtrace shouldn't include call to A::A_ftk()). : Zend/tests/bug38047.phpt
| From: | Dmitry Stogov | Date: | Mon, 07 Jul 2014 13:27:16 +0000 |
| Subject: | com php-src: Wrong expectation in test (The error "Non-static method A::A_ftk() should not be called statically " is reported on caller side, so backtrace shouldn't include call to A::A_ftk()). : Zend/tests/bug38047.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79263@lists.php.net to get a copy of this message | ||
Commit: 4dd7c63d1e5e9954baf39f9e5d9c5d6d80b991b6
Author: Dmitry Stogov <dmitry@zend.com> Mon, 7 Jul 2014 17:27:16 +0400
Parents: e4450cddd4f7318d59cc944562510bdfa8889259
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4dd7c63d1e5e9954baf39f9e5d9c5d6d80b991b6
Log:
Wrong expectation in test (The error "Non-static method A::A_ftk() should not be called
statically" is reported on caller side, so backtrace shouldn't include call to
A::A_ftk()).
Changed paths:
M Zend/tests/bug38047.phpt
Diff:
diff --git a/Zend/tests/bug38047.phpt b/Zend/tests/bug38047.phpt
index 00290ee..5e7b3ef 100644
--- a/Zend/tests/bug38047.phpt
+++ b/Zend/tests/bug38047.phpt
@@ -42,7 +42,6 @@ $page["name"] = A::A_ftk();
Non-static method A::A_ftk() should not be called statically
1 %sbug38047.php:13 get_error_context()
2 %sbug38047.php:36 kalus_error_handler()
-3 %sbug38047.php:36 A_ftk()
Missing argument 1 for A::A_ftk(), called in %sbug38047.php on line 36 and defined
1 %sbug38047.php:13 get_error_context()