PHP logical Question and answer
What will be the Output?
Understand the Questions Very carefully.
<?php
$a = 'Some string';
echo $a
?>
Answer:
It will Give Fatal Error. Because there is ; missing so it will give syntax error and syntax error means in php is fatal Error. I was taking Interview yesterday and candidate says it will return Warning, Thats why I am posting it. So guys read this very carefully.
PHP logical Question and answer
Reviewed by Dhaneshwar
on
8:44:00 AM
Rating:
No comments: