Question from the PHP5 test

PHP error.

Medium

What will the following script display?

<?php
 function foo(&$a = 8) {
    $b = &$a;
    $b -= $a + 3;
    return $b;
  }

  $a = foo(4);
  echo $a;
?>
Author: Mathieu RobinStatus: PublishedQuestion passed 66 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!