mirror of
https://github.com/php/php-src.git
synced 2024-10-09 10:37:29 +00:00
12 lines
213 B
Plaintext
12 lines
213 B
Plaintext
|
--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.1000e+0
|
||
|
string(17) " 1.1000e+0
|
||
|
"
|