> Hi all, > > Earlier, I was writing an application-specific wrapper around the > password_hash function, and was surprised that it could return false, > rather than throwing an error. > > I then found this commit to master making it throw errors for PHP 8.0: > https://github.com/php/php-src/commit/37c11714 > > That's great! But ... it is a breaking change, and I can't see any note > in UPGRADING. Is there a running list of the Warnings that have been > promoted to Errors anywhere, and if not, should we create one before we > forget? > > Regards, > > -- > Rowan Tommins (né Collins) > [IMSoP]
Hi Rowan, You are completely right, these should be (should have been) noted somewhere. Although, the only problem I have with including every promoted warning in the upgrading notes is that doing so would possibly cannibalise it as there are dozens (if not hundreds) of promotions that have already taken place... Nevertheless, I'm happy to help collecting the converted warnings and putting the list in either the upgrading notes or any other place - whatever is going to be decided. Máté