intval integer casting
42 42
4 4
42 42
42 42
-42 -42
34 34
42 42
10000000000 10000000000
10000000000 10000000000
26 26
42000000 42000000
Warning: The float 4.2E+20 is not representable as an int, cast occurred in /in/JZ5bT on line 16
Warning: The float 4.2E+20 is not representable as an int, cast occurred in /in/JZ5bT on line 16
-4275113695319687168 -4275113695319687168
Warning: The float-string "420000000000000000000" is not representable as an int, cast occurred in /in/JZ5bT on line 17
Warning: The float-string "420000000000000000000" is not representable as an int, cast occurred in /in/JZ5bT on line 17
9223372036854775807 9223372036854775807
0 0
1 1
0 0
1 1
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.