1--TEST--
2Bug #47322 (sscanf %d doesn't work)
3--FILE--
4<?php
5
6sscanf(":59:58","%s:%d:%f", $a, $b, $c);
7echo "[$a][$b][$c]\n";
8
9sscanf("15:01:58.2","%d:%f:%f", $a, $b, $c);
10echo "[$a][$b][$c]\n";
11
12sscanf("15.1111::foo","%f:%d:%s", $a, $b, $c);
13echo "[$a][$b][$c]\n";
14
15?>
16--EXPECT--
17[:59:58][][]
18[15][1][58.2]
19[15.1111][1][58.2]
20