1--TEST--
2Test vprintf() function : basic functionality - exponential format
3--FILE--
4<?php
5echo "*** Testing vprintf() : basic functionality - using exponential format ***\n";
6
7// Initialise all required variables
8$format = "format";
9$format1 = "%e";
10$format2 = "%e %e";
11$format3 = "%e %e %e";
12$arg1 = array(1000);
13$arg2 = array(1000,2000);
14$arg3 = array(1000,2000,3000);
15
16$result = vprintf($format1,$arg1);
17echo "\n";
18var_dump($result);
19
20$result = vprintf($format2,$arg2);
21echo "\n";
22var_dump($result);
23
24$result = vprintf($format3,$arg3);
25echo "\n";
26var_dump($result);
27
28?>
29--EXPECT--
30*** Testing vprintf() : basic functionality - using exponential format ***
311.000000e+3
32int(11)
331.000000e+3 2.000000e+3
34int(23)
351.000000e+3 2.000000e+3 3.000000e+3
36int(35)
37