Home>IT Tests>Questions>What is the output of the following PHP code?
```
$a = 1;
$b = 2;
$c = 3;
$d = $a + $b + $c;
echo $d;
```
Question from the PHP5 test
What is the output of the following PHP code? ``` $a = 1; $b = 2; $c = 3; $d = $a + $b + $c; echo $d; ```
Hard
What will the following script display?
<?php
$a = array(“foo” => “bar”, array(“foobar” => “baz”));
echo count($a, true);
?>
Author: Mathieu RobinStatus: PublishedQuestion passed 69 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about PHP