PHP Basics Learning Mode

What will be the output of the following code snippet?

<?php
$a = 1;
$b = 2;
$c = 0xAF;
$d = $b + $c;
$e = $d * $b;
$f = ($d + $e) % $a;
print($f + $e);
?>