php-src/ext/standard/tests/strings/bug22207.phpt
Antony Dovgal a5ca775c02 fix test
2006-12-25 14:27:44 +00:00

16 lines
257 B
PHP

--TEST--
Bug #22207 (missing 0 when using the e notation in *printf functions)
--FILE--
<?php
printf("%10.5e\n", 1.1);
var_dump(sprintf("%10.5e\n", 1.1));
?>
--EXPECT--
1.10000e+0
string(11) "1.10000e+0
"
--UEXPECT--
1.10000e+0
unicode(11) "1.10000e+0
"