<?php
switch(PHP_INT_SIZE) {
case 4:echo '32-bit version of PHP';break;
case 8:echo '64-bit version of PHP';break;
default:echo 'PHP_INT_SIZE is ' . PHP_INT_SIZE;break;
}
Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/iu0DN on line 3
Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/iu0DN on line 6
PHP_INT_SIZE is PHP_INT_SIZE