Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define("PHP_INT_MIN",-PHP_INT_MAX-1);
- // or alternatively:
- // define("PHP_INT_MIN",~PHP_INT_MAX-1);
- print is_int( -2147483648 ); // FALSE on 32bit platform
- --------------------
- #python:
- print isinstance( -2147483648, (int)) // TRUE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement