mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
18 lines
324 B
PHP
18 lines
324 B
PHP
--TEST--
|
|
Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit)
|
|
--SKIPIF--
|
|
<?php if (PHP_INT_SIZE !== 8)
|
|
die("skip this test is for 64-bit platforms only"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(PHP_INT_MIN);
|
|
var_dump(PHP_INT_MAX);
|
|
var_dump(PHP_INT_SIZE);
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(-9223372036854775808)
|
|
int(9223372036854775807)
|
|
int(8)
|