Examveda
Examveda

What will be the output of the following PHP code ?
<?php
$one = "one";
$two = "two";
print($one$two);
?>

A. onetwo

B. one

C. nothing

D. error

Answer: Option D

Solution(By Examveda Team)

The above syntax will produce an error, unlike the echo statement.

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

Join The Discussion

Related Questions on Operators and Expressions in php