From 5fe94dfb5ef0bf44a7ad42555981804c9cbc4c55 Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Sat, 22 Jan 2005 12:22:02 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'PHP_5_0'. --- ext/reflection/tests/bug31651.phpt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 ext/reflection/tests/bug31651.phpt diff --git a/ext/reflection/tests/bug31651.phpt b/ext/reflection/tests/bug31651.phpt new file mode 100755 index 0000000000..60bee14e9f --- /dev/null +++ b/ext/reflection/tests/bug31651.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) +--FILE-- + 1); +} + +$ref = new ReflectionClass('Test'); + +print_r($ref->getDefaultProperties()); + +?> +--EXPECT-- +Array +( + [a] => Array + ( + [a] => 1 + ) + +) -- 2.50.1