Working with PHP Datatypes
By Steve Adcock2005-05-14
Finding your PHP info
You can easily find out some juicy stuff regarding your PHP installation and web server by using PHP's phpinfo() function. PHP's delimiters are <? and ?> and MUST surround all your PHP coding. The following will display in-depth information about your PHP installation. Try it with PHP installed.
<?A cool little pre-defined PHP constant will let you view the type of operating system that your PHP installation is operating on. To use that, follow the following code:
phpinfo()
?>
<?The echo syntax will simply print out whatever is within the parenthesis; in this case, the value of the variable PHP_OS.
echo(PHP_OS);
?>
Tutorial Pages:
» Working with PHP Datatypes
» Finding your PHP info
» Defining variables and constants
» Let's play "What's that datatype?" !
» If this, If that
