absint( -9223372036854775808 ) === float(9.223372036854776E+18)
absint( -1.844674407371E+19 ) ===
Warning: The float -1.8446744073709552E+19 is not representable as an int, cast occurred in /in/ZsvNQ on line 4
int(0)
absint( 9223372036854775807 ) === int(9223372036854775807)
absint( 1.844674407371E+19 ) ===
Warning: The float 1.8446744073709552E+19 is not representable as an int, cast occurred in /in/ZsvNQ on line 4
int(0)
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/ZsvNQ on line 8
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/ZsvNQ on line 9
absint( PHP_INT_MIN ) === int(0)
absint( 0 ) === int(0)
absint( 9223372036854775807 ) === int(9223372036854775807)
absint( 1.844674407371E+19 ) === int(0)
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/ZsvNQ on line 8
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/ZsvNQ on line 9
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/ZsvNQ on line 10
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/ZsvNQ on line 11
absint( PHP_INT_MIN ) === int(0)
absint( 0 ) === int(0)
absint( PHP_INT_MAX ) === int(0)
absint( 0 ) === int(0)