string(5) "test0"
string(5) "test0"
Fatal error: Uncaught Error: foo(): Argument #1 ($x) could not be passed by reference in /in/edq3S:8
Stack trace:
#0 {main}
thrown in /in/edq3S on line 8
Process exited with code 255.
string(5) "test0"
string(5) "test0"
Fatal error: Uncaught Error: foo(): Argument #1 ($x) cannot be passed by reference in /in/edq3S:8
Stack trace:
#0 {main}
thrown in /in/edq3S on line 8
Process exited with code 255.
string(5) "test0"
string(5) "test0"
Strict Standards: Only variables should be passed by reference in /in/edq3S on line 8
string(5) "test1"
string(5) "test1"