diff options
Diffstat (limited to 'ext/reflection/tests/ReflectionParameter_003.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionParameter_003.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/reflection/tests/ReflectionParameter_003.phpt b/ext/reflection/tests/ReflectionParameter_003.phpt index f7ced9ad00..cc092bffcc 100644 --- a/ext/reflection/tests/ReflectionParameter_003.phpt +++ b/ext/reflection/tests/ReflectionParameter_003.phpt @@ -7,13 +7,13 @@ Steve Seear <stevseea@php.net> <?php class ReflectTestClass { - public static function staticMethod($paramOne, $anotherParam = "bob", + public static function staticMethod($paramOne, $anotherParam = "bob", &$thirdParam = "jack", $arrayParam = array('one')) { echo "hello from test\n"; echo "third is $thirdParam\n"; return ++$theIncrement; } - + } $jane = "jane"; @@ -36,7 +36,7 @@ foreach($refParameters as $parameter) { } else { echo "this parameter has no default value\n"; } - + /* $val = 0; try { @@ -47,7 +47,7 @@ foreach($refParameters as $parameter) { echo "\n"; } */ - + echo "\n"; } |