-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Stringable was introduced in PHP 8.0. From PHP 8.1, it will be implicitly implemented for classes that have a __toString() method; however, explicit implementation is still encouraged. We should do so when compiling for PHP 8.0+.
- is related to
-
PHPC-2004 Specify string return type in __toString() arginfos
- Closed