1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_handlers
Nick Liu 6b75f341ad
#4938: Workaround for PHP 8.2.0 segmentation fault / assertion error
Casting a `SimpleXMLElement` to an array should be equivalent to
`get_object_vars(…)` as far as I can tell.  At least all existing
tests pass and I don't see any visual regressions upon making this
change.

By replacing `get_object_vars(…)` with a cast to array, we sidestep
this PHP 8.2.0 bug: https://github.com/php/php-src/issues/10200

Fixes: https://github.com/e107inc/e107/issues/4938
2023-01-02 14:24:57 +01:00
..
2020-06-13 13:18:37 -07:00
2020-06-15 13:01:09 -07:00
2006-12-02 04:36:16 +00:00
2022-12-15 22:11:05 -08:00
2022-12-18 14:39:09 +01:00