1. What will be the output of the following PHP code ?
<?php
"Hello World"
?>
<?php
"Hello World"
?>
2. What will be the output of the following PHP code ?
<?php
print_r "Hello world"
?>
<?php
print_r "Hello world"
?>
3. What will be the output of the following PHP code ?
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
4. What will be the output of the following PHP code ?
<?php
# echo "Hello world";
echo "# Hello world";
?>
<?php
# echo "Hello world";
echo "# Hello world";
?>
5. What will be the output of the following PHP code ?
<?php
echo "Hello World"
?>
<?php
echo "Hello World"
?>
Read More Section(Operators and Expressions in php)
Each Section contains maximum 70 questions. To get more questions visit other sections.