diff options
Diffstat (limited to 'ext/standard/tests/strings/sprintf_variation2.phpt')
-rw-r--r-- | ext/standard/tests/strings/sprintf_variation2.phpt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ext/standard/tests/strings/sprintf_variation2.phpt b/ext/standard/tests/strings/sprintf_variation2.phpt index fcd3f2123..a663df444 100644 --- a/ext/standard/tests/strings/sprintf_variation2.phpt +++ b/ext/standard/tests/strings/sprintf_variation2.phpt @@ -7,6 +7,8 @@ Test sprintf() function : usage variations - with all types of values for arg1 a * Source code: ext/standard/formatted_print.c */ +error_reporting(E_ALL & ~E_NOTICE); + echo "*** Testing sprintf() : with different types of values passed for arg1 argument ***\n"; // initialing required variables @@ -40,8 +42,8 @@ $values = array( // float data 10.5, -10.5, - 10.5e10, - 10.6E-10, + 10.1234567e10, + 10.7654321E-10, .5, // array data @@ -130,12 +132,12 @@ string(5) "-10.5" string(5) "-10.5" -- Iteration 7 -- -string(12) "105000000000" -string(12) "105000000000" +string(12) "101234567000" +string(12) "101234567000" -- Iteration 8 -- -string(7) "1.06E-9" -string(7) "1.06E-9" +string(13) "1.07654321E-9" +string(13) "1.07654321E-9" -- Iteration 9 -- string(3) "0.5" @@ -216,4 +218,4 @@ string(0) "" -- Iteration 28 -- string(%d) "Resource id #%d" string(%d) "Resource id #%d" -Done +Done
\ No newline at end of file |