Examveda
Examveda

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

A. # Hello world

B. Hello world# Hello world

C. Hello world

D. Error

Answer: Option A

Solution(By Examveda Team)

# is a single line comment.

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

Join The Discussion

Related Questions on Operators and Expressions in php