xref: /PHP-5.5/Zend/tests/bug62097.phpt (revision abe63627)
1--TEST--
2Bug #62097: fix for bug #54547 is wrong for 32-bit machines
3--SKIPIF--
4<?php
5if (PHP_INT_MAX !== 2147483647)
6	die('skip for system with 32-bit wide longs only');
7--FILE--
8<?php
9var_dump("02147483647" == "2147483647",
10		 "02147483648" == "2147483648",
11		 "09007199254740991" == "9007199254740991",
12		 "09007199254740992" == "9007199254740992");
13--EXPECT--
14bool(true)
15bool(true)
16bool(true)
17bool(false)
18