Re: [PHP-DEV] Feature Proposal

2021-01-14 Thread Andrew Brown
nt to > pass. > > While some time ago, this feature suggestion has been discussed before: > * https://externals.io/message/105123 > * https://externals.io/message/80201 > > (There were additional older threads I found via externals.io searches > for "default keyword&qu

[PHP-DEV] Feature Proposal

2021-01-14 Thread Andrew Brown
This is my first foray into PHP internals, so please let me know if I'm doing something wrong. Currently just following the instructions from https://wiki.php.net/rfc/howto. Currently this proposal is only a "concept". I propose we add a "default" keyword that can be passed as an argument into a

Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal

2016-03-10 Thread Andrew Brown
to a vote, and accept whatever happens. -- Andrew Brown

Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal

2016-03-08 Thread Andrew Brown
the main argument against removing var that I continue to hear is that 'my old code won't work anymore because of this unnecessary BC break'. but the thing is, your code *will* continue to work. unless *you choose* to upgrade your PHP version. if you stay on the current major version, it will conti