Does anyone know of a way of checking within PHP if the script is running as either 32-bit or 64-bit? Currently I'm using PHP 5.3.5.
Ideally I'd like to write a function so my code can look like this:
if( is_32bit() === true ) {
do_32bit_workaround();
}
do_everything_else();
Anyone have any thoughts?
See Question&Answers more detail:os