summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug22207.phpt
blob: 1623fb8e41a0a771e18e8cfc21ee6993d651df71 (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.1000e+0
string(17) "       1.1000e+0
"