1--TEST--
2sprintf() %h and %H specifiers
3--SKIPIF--
4<?php
5if (!setlocale(LC_ALL, "de_DE.utf8")) die("skip de_DE.utf8 locale not available");
6?>
7--FILE--
8<?php
9
10setlocale(LC_ALL, "de_DE.utf8");
11$f = 1.25;
12printf("%g %G %h %H\n", $f, $f, $f, $f);
13$f = 0.00000125;
14printf("%g %G %h %H\n", $f, $f, $f, $f);
15
16?>
17--EXPECT--
181,25 1,25 1.25 1.25
191,25e-6 1,25E-6 1.25e-6 1.25E-6
20