]> granicus.if.org Git - php/commitdiff
Fix tests
authorandy wharmby <wharmby@php.net>
Mon, 29 Jun 2009 07:45:12 +0000 (07:45 +0000)
committerandy wharmby <wharmby@php.net>
Mon, 29 Jun 2009 07:45:12 +0000 (07:45 +0000)
ext/reflection/tests/bug46064.phpt
ext/reflection/tests/bug46064_2.phpt

index 58b732f315c2464e596504f6e96511735d5afda5..da248f8934ca3ff981041b92853d71ef862bb32c 100644 (file)
@@ -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
index 832d13c4144f8bd226b25808c7d29a5c805e9e15..da14148a7a6e97b5bcd10a744c941adc9acb8ab6 100644 (file)
@@ -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