Hello internals, While working on the deprecation to/from bool type juggling in functions RFC and seeing the impact within Symfony, we found a common slightly annoying case. The getDocComment method of various Reflection classes was always used as a string, and we thought changing the behaviour in PHP made more sense.
I submitted a PR [1] but was asked to gather feedback on the mailing list. Please let me know what you think. Best regards, Gina P. Banyard [1] https://github.com/php/php-src/pull/18928