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

12 lines
208 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
"