1--TEST--
2testing integer overflow (32bit)
3--INI--
4precision=14
5--SKIPIF--
6<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
7--FILE--
8<?php
9
10$doubles = array(
11	076545676543223,
12	032325463734,
13	0777777,
14	07777777777777,
15	033333333333333,
16	);
17
18foreach ($doubles as $d) {
19	$l = (double)$d;
20	var_dump($l);
21}
22
23echo "Done\n";
24?>
25--EXPECTF--
26float(4308640384%d)
27float(3545655%d)
28float(262143)
29float(549755813%d)
30float(1884877076%d)
31Done
32