Hey! :) The reference is actually not a problem for a Stringable because you would get the "Only variables can be passed by reference" error with an object if `strict_types` is enabled.
Simply because the object **MUST** be converted into a string. The object itself does not satisfy the constraint, but the object clearly states that it can be converted into a string at any point. Not doing so would violate what `strict_types` actually promise us. ;) -- Richard "Fleshgrinder" Fussenegger -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php