Re: New PCRE function
| From: | Nico Oelgart | Date: | Wed, 19 Feb 2020 15:33:16 +0000 |
| Subject: | Re: New PCRE function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108671@lists.php.net to get a copy of this message | ||
On Wed, Feb 19, 2020 at 4:20 PM David Rodrigues <david.proweb@gmail.com>
wrote:
> Maybe you can set all this messages as lowercase? That way we can use it
> more easily. If we need the first letter in capital letters we can use
>
ucfirst(), because the opposite is more complicated (a
> strtolower()
> would "break" the "JIT" message, for example).
>
Hi David!
I'm not sure how this would be more useful, plus all other built-in
functions like
json_last_error_msg() don't return all-lowercase strings either.
I'd prefer it to be consistent with the rest of functions.