ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
define("__LINE__", "PHP is a scripting language");
echo __LINE__;
?>

Answer & Solution
Correct Answer: Option C
__LINE__ is a magical constant that gives the current line number and cannot be used a variable/constant name.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.