Home > Backend Development > PHP Tutorial > PHP_INT_SIZE and PHP_INT_MAX constants in PHP

PHP_INT_SIZE and PHP_INT_MAX constants in PHP

WBOY
Release: 2016-07-28 08:30:18
Original
2691 people have browsed it

PHP_INT_SIZE: Represents the word length of an integer value

PHP_INT_MAX: Represents the maximum value of an integer value

Note:

  • Output PHP_INT_SIZE: 4 in the next 32 bits, PHP_INT_MAX: 2147483647
  • Output PHP_INT_ in the next 64 bits SIZE:8 , PHP_INT_MAX: 9223372036854775807

The above has introduced the PHP_INT_SIZE and PHP_INT_MAX constants in PHP, including relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template