Fatal error: Uncaught Error: Undefined constant " JSON_FORCE_OBJECT" in /in/aB4Eg:8
Stack trace:
#0 {main}
thrown in /in/aB4Eg on line 8
Process exited with code 255.
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/aB4Eg on line 8
Warning: A non-numeric value encountered in /in/aB4Eg on line 8
Notice: Undefined variable: foo in /in/aB4Eg on line 15
null
Output for 7.3.32 - 7.3.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/aB4Eg on line 8
Warning: A non-numeric value encountered in /in/aB4Eg on line 8
null
Output for 7.1.0 - 7.1.25
Notice: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' in /in/aB4Eg on line 8
Warning: A non-numeric value encountered in /in/aB4Eg on line 8
Notice: Undefined variable: foo in /in/aB4Eg on line 15
null
Notice: Use of undefined constant JSON_FORCE_OBJECT - assumed ' JSON_FORCE_OBJECT' in /in/aB4Eg on line 8
Notice: Undefined variable: foo in /in/aB4Eg on line 15
null