A
Q. What will be the output of the following PHP code ?
Code:
<?php
define("FIRST_NAME", "Ajit");
define("LAST_NAME", FIRST_NAME);
echo FIRST_NAME;
echo LAST_NAME;
?>
define("FIRST_NAME", "Ajit");
define("LAST_NAME", FIRST_NAME);
echo FIRST_NAME;
echo LAST_NAME;
?>
- Correct Answer - Option(D)
- Views: 27
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.