ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
print_r "Hello world"
?>

Answer & Solution
Correct Answer: Option A
The statement should be print_r(‘Hello World’) to print Hello world. Also if there is only one line then there is no requirement of a semicolon, but it is better to use it.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
عبووود الأسطا
عبووود الأسطا 5 years ago
Answer will be true32