ExamCompetition Forum Question Papers Ask A Question Mock Test Learn & Earn Sign Up Login Menu



0 vote

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

Asked on by | Votes 0 | Views: 68 | Tags: computer science     | php     | operators and expressions in php     | Add Bounty

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

A).  qwe12345rty

B).  qwe{$a}rty

C).  error

D).  no output


Share on Facebook      Share on Whatsapp       Share on Twitter




1 answers

0 vote
Answered by on | Votes 0 |

 qwe12345rty



{$}dereferences the variable within.

Join Telegram Group




Answer This Question

Name:
Email:
Answer :
Sum of (4+5)
Submit: