Re: Re: Valid PECL extensions names
| From: | Serghei | Date: | Sat, 01 Dec 2018 13:11:31 +0000 |
| Subject: | Re: Re: Valid PECL extensions names | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-15611@lists.php.net to get a copy of this message | ||
On 12/1/18 1:34 PM, Peter Kokot wrote:
> On Sat, 24 Nov 2018 at 23:19, Peter Kokot <peterkokot@gmail.com> wrote:
>> Hello, are there any guidelines what are valid PECL extension names?
>>
>> Is it case sensitive all lowercase:
>> /^[a-z][a-z0-9_]+$/
>> acme_extension_2
>>
>> or is it case insensitive:
>> /^[a-z][a-z0-9_]+$/i
>> Acme_Extension_2
>>
>> I'm asking to be able to sync this here a bit:
>> https://github.com/php/web-pecl/pull/67
>>
>> Thank you if anyone has any info on this maybe :)
> I'll go with lower case preference then and leave the enabled option
> that someone adds a new extension with uppercase names. The download
> script and final file name(s) on the server are lower cased anyway
> when uploaded. I'll add it to the instructions paragraph also... I
> think that's pretty good way to go here since we have APCu and similar
> names now available out there and still have a consistency in mind for
> the future.
>
How about extension names like "Zend OPcache"? Notice there is a space
as well as uppercase letters.
Attachment: [application/pgp-keys] 0x39207AEFDC898A5F.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-keys] 0x39207AEFDC898A5F.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc