Examveda
Examveda

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

A. echo hello world

B. hello world

C. nothing

D. error

Answer: Option A

Solution(By Examveda Team)

The print statement will print what ever is present inside the double-quotes.

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

Join The Discussion

Related Questions on Operators and Expressions in php