What will be the output of the following PHP code ?
<?php
define('GREETING_TEST', 'PHP is a scripting language', true);
echo GREETING_TESt;
$changing_variable = 'test';
echo constant('GREETING_' . strtoupper($changing_variable));
?>
- PHP is a scripting language
PHP is a scripting language
- GREETING_TESt
- PHP is a scripting language
- PHP is a scripting language GREETING_TEST
(a).PHP is a scripting language
need an explanation for this answer? contact us directly to get an explanation for this answerPHP is a scripting language