Examveda
Examveda

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

A. Error

B. Hello World

C. Nothing

D. Missing semicolon error

Answer: Option C

Solution(By Examveda Team)

If you need to output something onto the screen you’ll need to use echo or print_r.

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

Join The Discussion

Comments ( 1 )

  1. Andrew Lviv
    Andrew Lviv :
    4 years ago

    FATAL ERROR

Related Questions on Operators and Expressions in php