mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
It's possible to return a reference from __toString(), but this is not handled and results in a (confusing) error telling that the return value must be a string. Properly handle this by unwrapping the reference. Closes GH-18810.