tm1000/Provisioner — Issue #35: Fix json error function with jaybee code
Author: tm1000
Created: 2012-01-19 19:28:56+00:00
State: open

`foreach (explode(" ","NONE DEPTH STATE_MISMATCH CTRL_CHAR SYNTAX UTF8") AS $key=>$value) {$value='JSON_ERROR_$value'; if (!defined($value)) {define($value,$key)}}; if(!function_exists('json_last_error')) { function json_last_error() { return JSON_ERROR_NONE; } }`