Q. What will be the output of the following PHP code ?

Code:
<?php
define("__LINE__", "PHP is a scripting language");
echo __LINE__;
?>
  • (A) PHP is a scripting language
  • (B) __LINE__
  • (C) 2
  • (D) ERROR
πŸ’¬ Discuss
βœ… Correct Answer: (C) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
221
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Ravinder Singh
Publisher
πŸ“ˆ
99%
Success Rate