mirror of
https://github.com/php/php-src.git
synced 2026-03-29 19:52:20 +02:00
When the current data is invalid, NULL must be returned. At least that's how the check in SPL works and how other extensions do this as well. If we don't do this, an UNDEF value gets propagated to a return value (misprinted as null); leading to issues. Closes GH-16825.