Runtime defined Constants

define("CURRENT\_DATE", date('Y-m-d'));
// One possible representation
echo CURRENT_DATE;   # => 2021-01-05
# => CURRENT\_DATE is: 2021-01-05
echo 'CURRENT\_DATE is: ' . CURRENT_DATE; 
Comments