Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
function constant()
{
define("GREETING", "Welcome to Narnia",true);
echo greeting;
}
?>
Answer : Option A
Explanation :
By default constants are case sensitive. But the third parameter in define(), if set to true, makes constants case insensitive.
Be The First To Comment