PHP_INT_64bit.phpt 324 B

1234567891011121314151617
  1. --TEST--
  2. Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit)
  3. --SKIPIF--
  4. <?php if (PHP_INT_SIZE !== 8)
  5. die("skip this test is for 64-bit platforms only"); ?>
  6. --FILE--
  7. <?php
  8. var_dump(PHP_INT_MIN);
  9. var_dump(PHP_INT_MAX);
  10. var_dump(PHP_INT_SIZE);
  11. ?>
  12. --EXPECT--
  13. int(-9223372036854775808)
  14. int(9223372036854775807)
  15. int(8)