What will be printed after executing following code?
<?php
$a = 1;
echo "{${"a"}}";
?>
Explanation
Get an explanation when it's available:

Thanks, guys! fixed

2017 Dec 6, 1:24:24 PM

1 is correct answer!

2017 Oct 22, 10:53:44 AM

//Fix it! //The right answer is 1

2017 Jul 6, 1:46:28 PM

1 (php5.5.12)

2016 Apr 8, 2:39:39 PM

https://eval.in/540056

2016 Mar 21, 8:31:38 PM

PHP
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback