summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug22207.phpt
blob: 32a15d73cd1866ae3c86f00efb20c201e52e9bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
--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
"