From ceee572c0bd99d431659eec9bf10ea2115bbfcb7 Mon Sep 17 00:00:00 2001 From: andy wharmby Date: Mon, 29 Jun 2009 07:45:12 +0000 Subject: [PATCH] Fix tests --- ext/reflection/tests/bug46064.phpt | 6 ++++-- ext/reflection/tests/bug46064_2.phpt | 12 +++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ext/reflection/tests/bug46064.phpt b/ext/reflection/tests/bug46064.phpt index 58b732f315..da248f8934 100644 --- a/ext/reflection/tests/bug46064.phpt +++ b/ext/reflection/tests/bug46064.phpt @@ -45,8 +45,9 @@ class bar extends test { new bar; ?> +===DONE=== --EXPECTF-- -object(ReflectionProperty)#2 (2) { +object(ReflectionProperty)#%d (2) { ["name"]=> string(1) "z" ["class"]=> @@ -63,7 +64,7 @@ array(1) { int(1000) --------------------------- string(30) "Property x::$zz does not exist" -object(ReflectionProperty)#3 (2) { +object(ReflectionProperty)#%d (2) { ["name"]=> string(3) "zzz" ["class"]=> @@ -72,3 +73,4 @@ object(ReflectionProperty)#3 (2) { int(2) bool(false) bool(true) +===DONE=== \ No newline at end of file diff --git a/ext/reflection/tests/bug46064_2.phpt b/ext/reflection/tests/bug46064_2.phpt index 832d13c414..da14148a7a 100644 --- a/ext/reflection/tests/bug46064_2.phpt +++ b/ext/reflection/tests/bug46064_2.phpt @@ -36,14 +36,15 @@ class test extends bar { new test; ?> ---EXPECT-- -object(ReflectionProperty)#3 (2) { +===DONE=== +--EXPECTF-- +object(ReflectionProperty)#%d (2) { ["name"]=> string(4) "test" ["class"]=> string(3) "foo" } -object(ReflectionProperty)#5 (2) { +object(ReflectionProperty)#%d (2) { ["name"]=> string(1) "a" ["class"]=> @@ -56,17 +57,18 @@ bool(true) bool(false) array(2) { [0]=> - &object(ReflectionProperty)#6 (2) { + &object(ReflectionProperty)#%d (2) { ["name"]=> string(1) "b" ["class"]=> string(4) "test" } [1]=> - &object(ReflectionProperty)#7 (2) { + &object(ReflectionProperty)#%d (2) { ["name"]=> string(1) "a" ["class"]=> string(4) "test" } } +===DONE=== \ No newline at end of file -- 2.50.1