Home>IT Tests>Questions>What is the output of the following code?
```
$a = 10;
$b = 20;
$c = $a + $b;
$d = $a - $b;
$e = $a * $b;
$f = $a / $b;
echo $c;
echo $d;
echo $e;
echo $f;
```
Question from the PHP5 test
What is the output of the following code? ``` $a = 10; $b = 20; $c = $a + $b; $d = $a - $b; $e = $a * $b; $f = $a / $b; echo $c; echo $d; echo $e; echo $f; ```
Hard
How many primitive types exist in PHP?
Author: Mathieu RobinStatus: PublishedQuestion passed 72 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about PHP