Re: PHP 7.1 - Address PHPSadness #28?
| From: | Craig Francis | Date: | Wed, 26 Aug 2015 17:08:43 +0000 |
| Subject: | Re: PHP 7.1 - Address PHPSadness #28? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87937@lists.php.net to get a copy of this message | ||
On 26 Aug 2015, at 16:44, Stanislav Malyshev <smalyshev@gmail.com> wrote:
>> Depending on the website I may then add a key to define the
>> 'report-uri', or I may set it to NULL to say that I don't want one.
>
> NULL is not the best value to for this, but the function you're looking
> for is array_key_exists().
What would be the best value?
And the array_key_exists() function has already been mentioned (and is what I'm using... but I
cut that bit out to keep the reply shorter, as mentioned in my previous email).