cvs: ZendEngine2(PHP_5_1) / zend_API.c /tests bug29210.phpt bug32290.phpt

From: Date: Fri, 06 Jan 2006 20:55:14 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend_API.c /tests bug29210.phpt bug32290.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4513@lists.php.net to get a copy of this message
tony2001 Fri Jan 6 20:55:14 2006 UTC Modified files: (Branch: PHP_5_1) /ZendEngine2 zend_API.c /ZendEngine2/tests bug29210.phpt bug32290.phpt Log: fix typo in the code and related tests http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_API.c?r1=1.296.2.15&r2=1.296.2.16&diff_format=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.296.2.15 ZendEngine2/zend_API.c:1.296.2.16 --- ZendEngine2/zend_API.c:1.296.2.15 Wed Jan 4 23:53:03 2006 +++ ZendEngine2/zend_API.c Fri Jan 6 20:55:14 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.296.2.15 2006/01/04 23:53:03 andi Exp $ */ +/* $Id: zend_API.c,v 1.296.2.16 2006/01/06 20:55:14 tony2001 Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -2135,7 +2135,7 @@ if (EG(This)) { if (instanceof_function(Z_OBJCE_P(EG(This)), ce TSRMLS_CC)) { *zobj_ptr_ptr = &EG(This); - zend_error(E_STRICT, "Non-static method %s::%s() canot be called statically, assuming $this from compatible context %s", ce->name, Z_STRVAL_PP(method), Z_OBJCE_P(EG(This))->name); + zend_error(E_STRICT, "Non-static method %s::%s() cannot be called statically, assuming $this from compatible context %s", ce->name, Z_STRVAL_PP(method), Z_OBJCE_P(EG(This))->name); } } } else { http://cvs.php.net/viewcvs.cgi/ZendEngine2/tests/bug29210.phpt?r1=1.2.2.1&r2=1.2.2.2&diff_format=u Index: ZendEngine2/tests/bug29210.phpt diff -u ZendEngine2/tests/bug29210.phpt:1.2.2.1 ZendEngine2/tests/bug29210.phpt:1.2.2.2 --- ZendEngine2/tests/bug29210.phpt:1.2.2.1 Fri Dec 16 22:19:01 2005 +++ ZendEngine2/tests/bug29210.phpt Fri Jan 6 20:55:14 2006 @@ -93,10 +93,10 @@ test_func1 test_func2 -Strict Standards: Non-static method test_class::test_func3() canot be called statically, assuming $this from compatible context test_class in %sbug29210.php on line %d +Strict Standards: Non-static method test_class::test_func3() cannot be called statically, assuming $this from compatible context test_class in %sbug29210.php on line %d test_func3 -Strict Standards: Non-static method test_class::test_func4() canot be called statically, assuming $this from compatible context test_class in %sbug29210.php on line %d +Strict Standards: Non-static method test_class::test_func4() cannot be called statically, assuming $this from compatible context test_class in %sbug29210.php on line %d test_func4 test_func1 isn't callable from outside test_func2 isn't callable from outside @@ -105,8 +105,8 @@ test_func1 isn't callable from child test_func2 -Strict Standards: Non-static method test_class::test_func3() canot be called statically, assuming $this from compatible context foo in %sbug29210.php on line %d +Strict Standards: Non-static method test_class::test_func3() cannot be called statically, assuming $this from compatible context foo in %sbug29210.php on line %d test_func3 isn't callable from child -Strict Standards: Non-static method test_class::test_func4() canot be called statically, assuming $this from compatible context foo in %sbug29210.php on line %d +Strict Standards: Non-static method test_class::test_func4() cannot be called statically, assuming $this from compatible context foo in %sbug29210.php on line %d test_func4 http://cvs.php.net/viewcvs.cgi/ZendEngine2/tests/bug32290.phpt?r1=1.1.4.1&r2=1.1.4.2&diff_format=u Index: ZendEngine2/tests/bug32290.phpt diff -u ZendEngine2/tests/bug32290.phpt:1.1.4.1 ZendEngine2/tests/bug32290.phpt:1.1.4.2 --- ZendEngine2/tests/bug32290.phpt:1.1.4.1 Fri Dec 16 22:19:01 2005 +++ ZendEngine2/tests/bug32290.phpt Fri Jan 6 20:55:14 2006 @@ -98,7 +98,7 @@ ===A=== TestB::doSomething(1) -Strict Standards: Non-static method TestA::doSomething() canot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d +Strict Standards: Non-static method TestA::doSomething() cannot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d TestA::doSomething(2) int(1) @@ -110,7 +110,7 @@ ===C=== TestB::doSomethingParent(1) -Strict Standards: Non-static method TestA::doSomethingParent() canot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d +Strict Standards: Non-static method TestA::doSomethingParent() cannot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d TestA::doSomethingParent(2) int(1)

« previous php.zend-engine.cvs (#4513) next »