<?php declare(strict_types=1); function foo($x, &$y) { $y = $x ** 2; return $x * 2; } $a = 100; var_dump([foo(5, $a), $a]);
You have javascript disabled. You will not be able to edit any code.