Re: [PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructorsreturn void

This is only part of a thread. view whole thread
  110897
July 9, 2020 14:27 someniatko@gmail.com (someniatko)
> I think going from forbidding > return types on ctors to requiring them to be void is one step to far.
I am afraid you've slightly misunderstood the intention of this RFC. It is proposed that it is impossible to return anything from the constructor, not that you have to add ": void" to it.