summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-01-22 12:22:01 +0000
committerMarcus Boerger <helly@php.net>2005-01-22 12:22:01 +0000
commitbad986232bd56d920ef9edf10314ff3c02eee2ee (patch)
tree66cf2ff712881965ea9806ac8c49ae983db1bea1 /ext/reflection
parenta01e3435de8d9ca6fc9b3b886d65baa9df87dd27 (diff)
downloadphp-git-bad986232bd56d920ef9edf10314ff3c02eee2ee.tar.gz
- Update after fixing it
Diffstat (limited to 'ext/reflection')
-rwxr-xr-xext/reflection/tests/bug31651.phpt13
1 files changed, 6 insertions, 7 deletions
diff --git a/ext/reflection/tests/bug31651.phpt b/ext/reflection/tests/bug31651.phpt
index 6e569add21..60bee14e9f 100755
--- a/ext/reflection/tests/bug31651.phpt
+++ b/ext/reflection/tests/bug31651.phpt
@@ -5,21 +5,20 @@ Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
class Test
{
- var $a = array('a' => 1);
+ public $a = array('a' => 1);
}
-//$obj = new Test;
-//$ref = new ReflectionClass($obj);
$ref = new ReflectionClass('Test');
-print_r($ref->getdefaultProperties());
+print_r($ref->getDefaultProperties());
?>
--EXPECT--
Array
(
[a] => Array
- (
- [a] => 1
- )
+ (
+ [a] => 1
+ )
+
)