Examveda
Examveda

What will be the output of the following PHP code ?
<?php
$a  =  '12345';
print "qwe".$a."rty";
?>

A. qwe12345rty

B. qwe$arty

C. error

D. no output

Answer: Option A

Solution(By Examveda Team)

dereferences the variable/string within.

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

Join The Discussion

Related Questions on Operators and Expressions in php