On 6 Aug 2014, at 14:26, Pierre Joye <pierre....@gmail.com> wrote: > For the exts I tried while I was testing/fixing phpng a couple of > weeks ago, I'd to say that maintaining the same code base for phpng > and 5.x is simply too hard, way too many APIs changes, many of them > cannot be detected at compile time, introducing many many new #ifdefs > along other things. I will maintain a separate branch. The only thing > I worry about is how I will manage releases in pecl. I have no clean > solution now, or maybe one release with two branches bundled. Separate > releases could work too but I will try everything possible to do not > have to do that, or to have to do that as it is really painful to do. > Maybe I can manage to implement something in pickle to ease this work. > Ideas welcome.
Perhaps for these extensions, it is best to not make it work with both versions, but instead have a 5.x version and a phpng version, and continue to maintain both separately? I wonder if that might actually be less work than trying to keep a single version working on both. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php