Re: PHP 7.1 - Address PHPSadness #28?
| From: | Rowan Collins | Date: | Thu, 17 Sep 2015 12:52:32 +0000 |
| Subject: | Re: PHP 7.1 - Address PHPSadness #28? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88282@lists.php.net to get a copy of this message | ||
Terry Cullen wrote on 17/09/2015 13:41:
Here is an example where exists would be useful;You answered your own request:
// I should have used property_exists() instead of isset().. wasn't expecting a null..We already have that function, so that's alright then! :) As I've said several times, we need to improve documentation around this, but "I didn't find the existing function, so I need a new function which will be no easier to find and won't work in most people's environments" is a pretty weak argument in favour of a language change.