Re: Valid PECL extensions names

From: Date: Sat, 01 Dec 2018 11:34:38 +0000
Subject: Re: Valid PECL extensions names
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-15610@lists.php.net to get a copy of this message
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. -- Peter Kokot

« previous php.pecl.dev (#15610) next »