Bug: function call as function argument

When a function argument is a function call, it seems the result of the evaluation of such an argument is always null.

Example:

function foo($x, $y) { return $x + $y }

function bar {return 3};

echo foo(1, bar()) // bar() evaluates to NULL