<?php
echo 'bla';
ECHO 'blee';
ecHO 'ho,ho';
echo TRUE;
echo true;
echo trUE;
echo PHP_OS;
echo php_OS;
var_dump(TRUE,FALSE,NULL); // they have data types and what has data types? variables; not keywords!
function true(){
return 'The truth ...';
}
function false(){
return 'Do not be false...';
}
function null(){
return 't\'is nothing at all...';
}
echo true();
echo false();
echo null();
blableeho,ho111Linux
Fatal error: Uncaught Error: Undefined constant "php_OS" in /in/A24SQ:9
Stack trace:
#0 {main}
thrown in /in/A24SQ on line 9
Process exited with code 255.
blableeho,ho111Linux
Warning: Use of undefined constant php_OS - assumed 'php_OS' (this will throw an Error in a future version of PHP) in /in/A24SQ on line 9
php_OSbool(true)
bool(false)
NULL
The truth ...Do not be false...t'is nothing at all...
blableeho,ho111Linux
Notice: Use of undefined constant php_OS - assumed 'php_OS' in /in/A24SQ on line 9
php_OSbool(true)
bool(false)
NULL
The truth ...Do not be false...t'is nothing at all...