A friend got this question during an interview:
What should be the value of x so that the following function returns true.
<?php
function returnTrue( $x ){
$x[$x] = $x;
return $x != true;
}
$res = returnTrue(YOUR_ANSWER);
var_dump($res);
?>
The answer should be 3 characters max