Constants


A constant is an identifier for a simple value which is not changed in running script. A constant can be specified with define keyword.

<?php
  define("TEST_CONST", 16);                 // integer constant
  define("TEST_NAME", "constant");          // string constant
?>

※ PHPoC is not supporting to define constants by const keyword.

※ PHPoC is not supporting Magic constants.