@dgoosens @mwop @ramsey @zend Regarding #SensitiveParameter and @mwop wishing it would be applied to the native functions: It is! I've went through all the stubs in php/php-src and added the attribute onto anything I could identify as sensitive. Example: https://github.com/php/php-src/blob/277dc355410b79fcf7b8926284ba5c38fedd6d80/ext/pdo/pdo_dbh.stub.php#L389
If you believe I've missed anything, send a PR 😃
What’s New In #PHP 8.2? https://www.howtogeek.com/devops/whats-new-in-php-8.2/
I have to say, I'm looking forward to playing with some of these features. I can see a few usecases that could improve #WordPress. Especially the #SensitiveParameter directive which looks like it would pass as a comment for older versions of PHP.
#php #wordpress #sensitiveparameter
What’s New In #PHP 8.2? https://www.howtogeek.com/devops/whats-new-in-php-8.2/
I have to say, I'm looking forward to playing with some of these features. I can see a few usecases that could improve #WordPress. Especially the #SensitiveParameter directive which looks like it would pass as a comment for older versions of PHP.
#php #wordpress #sensitiveparameter
#PHP 8.2 and #WoltLab: The #SensitiveParameter Attribute:
https://www.woltlab.com/article/274-php-8-2-and-woltlab-the-sensitiveparameter-attribute/
The article explains the idea behind the `#[\SensitiveParameter]` attribute we proposed for and contributed to PHP 8.2 and showcases how we experienced PHP’s #RFC process as first-time contributors.
The RFC process went super smooth and we can highly recommend other developers to contribute on the #Internals list to ensure their use cases are included in future RFCs and possibly write their own RFC!
#php #woltlab #sensitiveparameter #rfc #Internals