Fatal error: Uncaught Error: Non-static method Test::testFunction() cannot be called statically in /in/hXsjS:17
Stack trace:
#0 {main}
thrown in /in/hXsjS on line 17
Process exited with code 255.
Deprecated: Non-static method Test::testFunction() should not be called statically in /in/hXsjS on line 17
Deprecated: array_walk_recursive() expects parameter 2 to be a valid callback, non-static method Test::alt_json_encode_callback() should not be called statically in /in/hXsjS on line 6
string(9) "["1","1"]"
Output for 7.3.32 - 7.3.33
string(9) "["1","1"]"
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33
Deprecated: Non-static method Test::testFunction() should not be called statically in /in/hXsjS on line 17
Warning: array_walk_recursive() expects parameter 2 to be a valid callback, non-static method Test::alt_json_encode_callback() should not be called statically in /in/hXsjS on line 6
string(9) "["1","1"]"
Strict Standards: Non-static method Test::testFunction() should not be called statically in /in/hXsjS on line 17
Strict Standards: array_walk_recursive() expects parameter 2 to be a valid callback, non-static method Test::alt_json_encode_callback() should not be called statically in /in/hXsjS on line 6
string(9) "["1","1"]"
Output for 5.2.0 - 5.2.17
Strict Standards: Non-static method Test::testFunction() should not be called statically in /in/hXsjS on line 17
Strict Standards: Non-static method Test::alt_json_encode_callback() cannot be called statically in /in/hXsjS on line 6
Strict Standards: Non-static method Test::alt_json_encode_callback() cannot be called statically in /in/hXsjS on line 6
string(9) "["1","1"]"
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Strict Standards: Non-static method Test::testFunction() should not be called statically in /in/hXsjS on line 17
Strict Standards: Non-static method Test::alt_json_encode_callback() cannot be called statically in /in/hXsjS on line 6
Strict Standards: Non-static method Test::alt_json_encode_callback() cannot be called statically in /in/hXsjS on line 6
Fatal error: Call to undefined function json_encode() in /in/hXsjS on line 7
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hXsjS on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hXsjS on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/hXsjS on line 5
Process exited with code 255.