[PECL-DEV] Question regarding packaging for PHP7

2015-11-15 Thread Ruslan Osmanov
Hi, how do I package a PHP7 extension? Say, we have an extension with PHP5+ support with version 1.0.0. Since PHP7 internal API is not backwards compatible, we're re-writing the code in a branch. We bump its version to 2.0.0. Now what happens, if we upload the PHP7 version to PECL? A PHP6 user

RE: [PECL-DEV] Question regarding packaging for PHP7

2015-11-15 Thread Anatol Belski
Hi Ruslan, > -Original Message- > From: Ruslan Osmanov [mailto:rrosma...@gmail.com] > Sent: Sunday, November 15, 2015 11:30 AM > To: PECL Developers <pecl-dev@lists.php.net> > Subject: [PECL-DEV] Question regarding packaging for PHP7 > > Hi, > >

Re: [PECL-DEV] Question

2013-03-25 Thread Johannes Schlüter
On Sun, 2013-03-24 at 20:59 -0300, Cesar D. Rodas wrote: I think there is a term resource which is misunderstood, as what you mean by that is the Resource class. PHP resource type is something else. I register a new resource type, anyway is not a bad idea to wrap resources inside

Re: [PECL-DEV] Question

2013-03-25 Thread Cesar D. Rodas
Hi Johannes, On 25 March 2013 07:57, Johannes Schlüter johan...@schlueters.de wrote: On Sun, 2013-03-24 at 20:59 -0300, Cesar D. Rodas wrote: I think there is a term resource which is misunderstood, as what you mean by that is the Resource class. PHP resource type is something else. I

[PECL-DEV] Question

2013-03-24 Thread Cesar D. Rodas
Hi there, I'm writing an extension (it'll be opensource), something inspired in Python's ctypes (similar to http://pecl.php.net/package/ffi) In order to make things a bit interesting, I allow to register resources types from the userland (I don't know if this ok), and its destructor is a

Re: [PECL-DEV] Question

2013-03-24 Thread Anatol Belski
Hi, On Sun, 2013-03-24 at 19:33 -0300, Cesar D. Rodas wrote: Hi there, I'm writing an extension (it'll be opensource), something inspired in Python's ctypes (similar to http://pecl.php.net/package/ffi) In order to make things a bit interesting, I allow to register resources types from

Re: [PECL-DEV] Question

2013-03-24 Thread Cesar D. Rodas
Hi Anatol, On 24 March 2013 19:23, Anatol Belski a...@php.net wrote: Hi, On Sun, 2013-03-24 at 19:33 -0300, Cesar D. Rodas wrote: Hi there, I'm writing an extension (it'll be opensource), something inspired in Python's ctypes (similar to http://pecl.php.net/package/ffi) In order to make