PHP
(quick guide & examples)
Simply run php -v in the command line.
Create a single-line script with phpinfo(); and open it in the browser.
echo PHP_VERSION; echo PHP_MAJOR_VERSION; echo PHP_MINOR_VERSION;
echo phpversion();
if (PHP_INT_SIZE==4) { echo "32 bits"; } if (PHP_INT_SIZE==8) { echo "64 bits"; }
echo ZEND_THREAD_SAFE ? "Thread safe" : "Not thread safe";