]> granicus.if.org Git - php/commitdiff
sync test with other branches
authorAntony Dovgal <tony2001@php.net>
Wed, 23 Jul 2008 09:29:09 +0000 (09:29 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 23 Jul 2008 09:29:09 +0000 (09:29 +0000)
ext/standard/tests/strings/sprintf_variation23.phpt

index 78b0e3dc2fc3a63d43ed70c8941d5ced4c552c68..f502e589ddf16e6c295fc3da7f71fa4e7735f7e5 100644 (file)
@@ -39,11 +39,11 @@ foreach($resource_values as $resource_value) {
 
 // closing the resources
 fclose($fp);
-closedir($dfp);
+fclose($dfp);
 
 echo "Done";
 ?>
---EXPECT--
+--EXPECTF--
 *** Testing sprintf() : char formats with resource values ***
 
 -- Iteration 1 --
@@ -75,4 +75,6 @@ unicode(1) "\ 6"
 unicode(1) "\ 6"
 unicode(11) "a-bA-B@#$&]"
 unicode(1) "c"
+
+Warning: fclose(): %d is not a valid stream resource in %s on line %d
 Done