1--TEST--
2Bug #23894 (sprintf() decimal specifiers problem) 32bit version
3--SKIPIF--
4<?php
5if (PHP_INT_SIZE != 4) die("skip this test is for 32bit 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(13) "   4294967284"
19string(26) "20202034323934393637323834"
20