Fatal error: Uncaught Error: Undefined constant " JSON_FORCE_OBJECT" in /in/ipPcY:4
Stack trace:
#0 {main}
thrown in /in/ipPcY on line 4
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' (this will throw an Error in a future version of PHP) in /in/ipPcY on line 4
Warning: json_encode() expects parameter 2 to be int, string given in /in/ipPcY on line 4
Output for 7.2.0 - 7.2.33
Warning: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' (this will throw an Error in a future version of PHP) in /in/ipPcY on line 4
Warning: json_encode() expects parameter 2 to be integer, string given in /in/ipPcY on line 4
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33
Notice: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' in /in/ipPcY on line 4
Warning: json_encode() expects parameter 2 to be integer, string given in /in/ipPcY on line 4
Notice: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' in /in/ipPcY on line 4
Warning: json_encode() expects parameter 2 to be long, string given in /in/ipPcY on line 4