1--TEST--
2Bug #36392 (wrong number of decimal digits with %e specifier in sprintf)
3--FILE--
4<?php
5    echo sprintf("%e\n", 1.123456789);
6    echo sprintf("%.10e\n", 1.123456789);
7    echo sprintf("%.0e\n", 1.123456789);
8    echo sprintf("%.1e\n", 1.123456789);
9    echo sprintf("%5.1e\n", 1.123456789);
10?>
11--EXPECT--
121.123457e+0
131.1234567890e+0
141e+0
151.1e+0
161.1e+0
17