Commit b8de91c
committed
Fix errors and a warning
* PHP < 8.0 took a `char*` as `php_json_decode` input, whereas newer
versions take a const char * so ifdef around this.
* Fix compilation errors due to `false` not being defined. So as to make
a minimal change we can just use 0 and 11 parent 92dd256 commit b8de91c
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2686 | 2686 | | |
2687 | 2687 | | |
2688 | 2688 | | |
2689 | | - | |
2690 | | - | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
2691 | 2697 | | |
2692 | 2698 | | |
2693 | 2699 | | |
2694 | 2700 | | |
2695 | 2701 | | |
2696 | 2702 | | |
| 2703 | + | |
| 2704 | + | |
2697 | 2705 | | |
2698 | 2706 | | |
2699 | 2707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7043 | 7043 | | |
7044 | 7044 | | |
7045 | 7045 | | |
7046 | | - | |
7047 | 7046 | | |
| 7047 | + | |
7048 | 7048 | | |
7049 | 7049 | | |
7050 | 7050 | | |
| |||
0 commit comments