php class const in string code example
Example: php const
<?php
define('CONSTANT', 'Hello world !');
const CONSTANT = 'Hello world !';
const NEW_CONSTANT = CONSTANT.' And beyond...';
const ANIMALS = array('dog', 'cat', 'ant');
define('ANIMALS', array('dog', 'cat', 'ant'));
?>