mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
12 lines
208 B
PHP
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
|
|
"
|