integer in PHP
This integer data type holds only numeric values. It stores only whole number with no fractional component. The range of integers must lie between -2^31 to 2^31. ``` <?php $x=-1; echo $x; ?> ``` Output: ``` -1 ```
This integer data type holds only numeric values. It stores only whole number with no fractional component. The range of integers must lie between -2^31 to 2^31. ``` <?php $x=-1; echo $x; ?> ``` Output: ``` -1 ```