diff options
Diffstat (limited to 'ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt b/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt index cdd00d2624..20f4c95dc7 100644 --- a/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt +++ b/ext/reflection/tests/ReflectionParameter_DefaultValueConstant_basic1.phpt @@ -5,7 +5,7 @@ ReflectionParameter::isDefaultValueConstant() && getDefaultValueConstantName() define("CONST_TEST_1", "const1"); -function ReflectionParameterTest($test1=array(), $test2 = CONST_TEST_1) { +function ReflectionParameterTest($test1=array(), $test2 = CONST_TEST_1, $test3 = CASE_LOWER) { echo $test; } $reflect = new ReflectionFunction('ReflectionParameterTest'); @@ -46,6 +46,7 @@ foreach ($params as $param) { bool(false) bool(true) string(12) "CONST_TEST_1" +string(10) "CASE_LOWER" string(9) "self::bar" string(9) "Foo2::bar" string(12) "CONST_TEST_1" |