From df481764f34b0268025d031a082297edee124c7c Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 23 May 2012 13:50:12 +0800 Subject: Revert "Implemented FR #61602 Allow access to name of constant used as default value" This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74. See: http://news.php.net/php.cvs/69137 and the author confirmed. Will commit later after the author fixed this then make a new PR. Conflicts: ext/reflection/php_reflection.c --- ...ctionParameter_DefaultValueConstant_basic2.phpt | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic2.phpt (limited to 'ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic2.phpt') diff --git a/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic2.phpt b/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic2.phpt deleted file mode 100644 index 1ee9e93735..0000000000 --- a/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic2.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -ReflectionParameter::isDefaultValueConstant() && getDefaultValueConstantName() for namespace ---FILE-- -getParameters() as $param) { - if($param->isDefaultValueAvailable() && $param->isDefaultValueConstant()) { - echo $param->getDefaultValueConstantName() . "\n"; - } - } - echo "==DONE=="; -} -?> ---EXPECT-- -ReflectionTestNamespace\TestClass::TEST_CONST_2 -ReflectionTestNamespace\CONST_TEST_1 -==DONE== -- cgit v1.2.1