Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
function constant()
{
define("GREETING", "Welcome to Narnia");
echo greeting;
}
?>
Answer : Option D
Explanation :
By default constants are case sensitive. Hence an error will arise.
Be The First To Comment