PHP_INT_32bit.phpt 306 B

1234567891011121314151617
  1. --TEST--
  2. Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit)
  3. --SKIPIF--
  4. <?php if (PHP_INT_SIZE !== 4)
  5. die("skip this test is for 32-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(-2147483648)
  14. int(2147483647)
  15. int(4)