diff options
Diffstat (limited to 'Zend/tests/bug48899.phpt')
-rw-r--r-- | Zend/tests/bug48899.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/bug48899.phpt b/Zend/tests/bug48899.phpt index ff640543cb..2cbf308c3e 100644 --- a/Zend/tests/bug48899.phpt +++ b/Zend/tests/bug48899.phpt @@ -6,12 +6,12 @@ Bug #48899 (is_callable returns true even if method does not exist in parent cla class ParentClass { } class ChildClass extends ParentClass { - public function testIsCallable() { - var_dump(is_callable(array($this, 'parent::testIsCallable'))); - } - public function testIsCallable2() { - var_dump(is_callable(array($this, 'static::testIsCallable2'))); - } + public function testIsCallable() { + var_dump(is_callable(array($this, 'parent::testIsCallable'))); + } + public function testIsCallable2() { + var_dump(is_callable(array($this, 'static::testIsCallable2'))); + } } $child = new ChildClass(); |