kphp issueshttps://gitlab.doc.ic.ac.uk/df1311/kphp/-/issues2017-10-08T01:56:51Zhttps://gitlab.doc.ic.ac.uk/df1311/kphp/-/issues/1Bug: function call as function argument2017-10-08T01:56:51ZDaniele FilarettiBug: function call as function argumentWhen 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() eva...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 NULLDaniele FilarettiDaniele Filaretti