Examveda
Examveda

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

A. Hello

B. Hello world

C. Nothing

D. Error

Answer: Option D

Solution(By Examveda Team)

You can not have php tags inside a php tag.

This Question Belongs to PHP >> Operators And Expressions In Php

Join The Discussion

Related Questions on Operators and Expressions in php