diff options
author | Marcus Boerger <helly@php.net> | 2005-12-16 22:19:02 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-12-16 22:19:02 +0000 |
commit | 10f77a5d713c1e206cd72b5ec85a755da5fd52d4 (patch) | |
tree | 943423b4e2891768be74ecdf72dfa22b56deffd8 /Zend/tests/bug29210.phpt | |
parent | 4bb39ad2a59e3d9b6fc0bb91745e4a71d79513aa (diff) | |
download | php-git-10f77a5d713c1e206cd72b5ec85a755da5fd52d4.tar.gz |
- Add/fix tests
Diffstat (limited to 'Zend/tests/bug29210.phpt')
-rw-r--r-- | Zend/tests/bug29210.phpt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Zend/tests/bug29210.phpt b/Zend/tests/bug29210.phpt index 294685499c..16e6e6db16 100644 --- a/Zend/tests/bug29210.phpt +++ b/Zend/tests/bug29210.phpt @@ -89,10 +89,14 @@ if (is_callable(array('test_class','test_func4'))) { $object = new foo(); $object->test(); ?> ---EXPECT-- +--EXPECTF-- 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 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 test_func4 test_func1 isn't callable from outside test_func2 isn't callable from outside @@ -100,5 +104,9 @@ test_func3 isn't callable from outside test_func4 isn't callable from outside 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 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 test_func4 |