Commit 96c5713
committed
Make JSON deserialization work in php 7.0.x
In PHP 7.0.x the json_decode function returned void so we need to test
the error_code global to determine if deserialization failed.1 parent 98bd288 commit 96c5713
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2291 | 2291 | | |
2292 | 2292 | | |
2293 | 2293 | | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2294 | 2299 | | |
| 2300 | + | |
2295 | 2301 | | |
2296 | 2302 | | |
2297 | 2303 | | |
| |||
0 commit comments