diff options
Diffstat (limited to 'Zend/tests/bug32429.phpt')
-rw-r--r-- | Zend/tests/bug32429.phpt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Zend/tests/bug32429.phpt b/Zend/tests/bug32429.phpt deleted file mode 100644 index b711831afb..0000000000 --- a/Zend/tests/bug32429.phpt +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Bug #32429 (method_exists() always return TRUE if __call method exists) ---FILE-- -<?php - -class TestClass { - public function __construct() { - var_dump(method_exists($this, 'test')); - - if (method_exists($this, 'test')) { - $this->test(); - } - } - - public function __call($name, $args) { - throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()'); - } -} - -try { - $test = new TestClass; -} catch (Exception $e) { - exit($e->getMessage()); -} - -?> ---EXPECT-- -bool(false) |