diff options
Diffstat (limited to 'ext/reflection/tests/bug38653.phpt')
-rw-r--r-- | ext/reflection/tests/bug38653.phpt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/reflection/tests/bug38653.phpt b/ext/reflection/tests/bug38653.phpt deleted file mode 100644 index 68781d2aba..0000000000 --- a/ext/reflection/tests/bug38653.phpt +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Bug #38653 (memory leak in ReflectionClass::getConstant()) ---FILE-- -<?php - -class foo { - const cons = 10; - const cons1 = ""; - const cons2 = "test"; -} - -class bar extends foo { -} - -$foo = new ReflectionClass("foo"); -var_dump($foo->getConstant("cons")); -var_dump($foo->getConstant("cons1")); -var_dump($foo->getConstant("cons2")); -var_dump($foo->getConstant("no such const")); - -echo "Done\n"; -?> ---EXPECTF-- -int(10) -string(0) "" -string(4) "test" -bool(false) -Done |