Commit c105802
committed
Fix php8/php7 compat for xml_parser_create that nows returns object
* this function returns an XMLParser instance on php8;
previously, a resource was returned, or false on failure.
so i just compare php versions and use thep roperty on1 parent 0728e2a commit c105802
2 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
706 | 710 | | |
707 | 711 | | |
708 | 712 | | |
| |||
847 | 851 | | |
848 | 852 | | |
849 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
850 | 859 | | |
851 | 860 | | |
852 | 861 | | |
| |||
949 | 958 | | |
950 | 959 | | |
951 | 960 | | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
952 | 966 | | |
953 | 967 | | |
954 | 968 | | |
| |||
1093 | 1107 | | |
1094 | 1108 | | |
1095 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1096 | 1115 | | |
1097 | 1116 | | |
1098 | 1117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
0 commit comments