From: Antony Dovgal Date: Wed, 23 Jul 2008 09:29:09 +0000 (+0000) Subject: sync test with other branches X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=624122daff0a147a2a04331b2d9abdc268be6188;p=php sync test with other branches --- diff --git a/ext/standard/tests/strings/sprintf_variation23.phpt b/ext/standard/tests/strings/sprintf_variation23.phpt index 78b0e3dc2f..f502e589dd 100644 --- a/ext/standard/tests/strings/sprintf_variation23.phpt +++ b/ext/standard/tests/strings/sprintf_variation23.phpt @@ -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) "" unicode(1) "" unicode(11) "a-bA-B@#$&]" unicode(1) "c" + +Warning: fclose(): %d is not a valid stream resource in %s on line %d Done