<?php
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The name of a constant NEVER STARTS with a $
The first character can NEVER be numeric
The characters: _, Ç e ç are allowed
Reserved characters, of course, can not be used
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
?>
<?php
/* - - - - - - - - - - - - - - - - - - - - - - - - - - -
SOME VALID INTERNAL
CONSTANT EXAMPLES
- - - - - - - - - - - - - - - - - - - - - - - - - - - */
PHP_VERSION
// GETS THE ACTUAL PHP VERSION
PHP_EOL
// SPECIFY THE END OF LINE
PHP_DATADIR
// SPECIFY THE DATA DIRECTORY
/* - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you run this exercise as is,
you will receive a Parse error,
due to a syntax error
- - - - - - - - - - - - - - - - - - - - - - - - - - - */
?>
<?php
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SOME VALID USER-DEFINED NAMES
CONSTANT EXAMPLES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
KONST01
KONST02
CONST_I1
CONST_F1
SSL2S
Kname01
PATH2TMP
path2ADD
const01
const_01
konst
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you run this exercise as is,
you will receive a Parse error
because for the CONSTANTS
no value has been assigned
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
?>