Commit 6530fd6
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 9e1e1a1 commit 6530fd6
2 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1157 | 1160 | | |
1158 | 1161 | | |
1159 | 1162 | | |
| |||
1281 | 1284 | | |
1282 | 1285 | | |
1283 | 1286 | | |
1284 | | - | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
1285 | 1291 | | |
1286 | 1292 | | |
1287 | 1293 | | |
| |||
1382 | 1388 | | |
1383 | 1389 | | |
1384 | 1390 | | |
1385 | | - | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1386 | 1395 | | |
1387 | 1396 | | |
1388 | 1397 | | |
| |||
1516 | 1525 | | |
1517 | 1526 | | |
1518 | 1527 | | |
1519 | | - | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1520 | 1532 | | |
1521 | 1533 | | |
1522 | 1534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | 242 | | |
240 | 243 | | |
| |||
0 commit comments