echo(true) ?
"true" : "false";
W przeglądarce 0 błedu, 0 nic, kompletnie. W konsoli jak odpaliłem to
Kod
PHP Fatal error: Call-time pass-by-reference has been removed in...
@edit
Problem po części rozwiązany.
Kod
Note: There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that "call-time pass-by-reference" is deprecated when you use & in foo(&$a);. And as of PHP 5.4.0, call-time pass-by-reference was removed, so using it will raise a fatal error.
Tylko dlaczego błąd dopiero zobaczyłem w konsoli a nie w przeglądarce? Wiecie coś w tym temacie?