Quiz · Variables and types · lesson 2 of 6
Quiz — assigning a variable
What does the program print?
<?php
$a = 5;
$b = $a;
$a = $a + 1;
echo $a, ' ', $b, "\n";What does the program print?
<?php
$a = 5;
$b = $a;
$a = $a + 1;
echo $a, ' ', $b, "\n";