1--TEST--
2Bug #23894 (sprintf() decimal specifiers problem) 64bit version
3--SKIPIF--
4<?php
5if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
6?>
7--FILE--
8<?php
9$a = -12.3456;
10$test = sprintf("%04d", $a);
11var_dump($test, bin2hex($test));
12$test = sprintf("% 13u", $a);
13var_dump($test, bin2hex($test));
14?>
15--EXPECT--
16string(4) "-012"
17string(8) "2d303132"
18string(20) "18446744073709551604"
19string(40) "3138343436373434303733373039353531363034"
20