Re: [PHP-DEV] Extension versions

2012-04-26 Thread Hannes Magnusson
On Thu, Apr 26, 2012 at 16:09, Jordi Boggiano wrote: > On 26.04.2012 15:50, Christian Stocker wrote: >> dom has the version 20031129 which is greater than 5. Not sure if anyone >> really checks against that, since not much changed there since obviously >> 2003 ;) > > Yup it's the only one I notice

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Jordi Boggiano
On 26.04.2012 15:50, Christian Stocker wrote: > dom has the version 20031129 which is greater than 5. Not sure if anyone > really checks against that, since not much changed there since obviously > 2003 ;) Yup it's the only one I noticed but since it's fairly well established, usually you don't ne

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Christian Stocker
On 26.04.12 15:35, Jordi Boggiano wrote: > On 23.04.2012 18:06, Johannes Schlüter wrote: >> On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: >>> As you see it goes from no version at all to proper versions, passing by >>> svn revisions, dates, or a mix of all. >>> >>> In Composer [1] we tr

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Jordi Boggiano
On 23.04.2012 18:06, Johannes Schlüter wrote: > On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: >> As you see it goes from no version at all to proper versions, passing by >> svn revisions, dates, or a mix of all. >> >> In Composer [1] we try to parse all that using ReflectionExtension, to

Re: [PHP-DEV] Extension versions

2012-04-23 Thread Johannes Schlüter
On Mon, 2012-04-23 at 18:39 +0200, jpauli wrote: > > In fact, Zend API provides extensions a char* to give a hint about the > extension version, but I guess no-one has been serious and really used > that field as it would have to be. Every(*) PECL extension does. (*) The exception proves the rul

Re: [PHP-DEV] Extension versions

2012-04-23 Thread jpauli
+1 for that notice. In fact, Zend API provides extensions a char* to give a hint about the extension version, but I guess no-one has been serious and really used that field as it would have to be. I recently noticed mistakes in ext/mysqlnd_ms as well. I then agree with Johannes, just use PHP_VERS

Re: [PHP-DEV] Extension versions

2012-04-23 Thread Johannes Schlüter
On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: > As you see it goes from no version at all to proper versions, passing by > svn revisions, dates, or a mix of all. > > In Composer [1] we try to parse all that using ReflectionExtension, to > allow people to require some specific version of