RE: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Jan 9, 2015 10:43 AM, François Laupretre franc...@tekwire.net wrote: -Message d'origine- De : Pierre Joye [mailto:pierre@gmail.com] Is there a technical problem with code located outside of definitions, or is it just a convention (PSR already contains this rule) ? I

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Thu, Jan 8, 2015 at 9:56 AM, Fred Emmott f...@fredemmott.co.uk wrote: On Jan 7, 2015, at 2:18 AM, Pierre Joye pierre@gmail.com wrote: That's very much the case. One extension, one install. It doesn't matter whether some of the extension is written in C, and other parts in PHP. HHVM is

RE: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread François Laupretre
De : Pierre Joye [mailto:pierre@gmail.com] We solved some of the other problems by only allowing definitions, no side-effects - classes, constants, namespaces etc. We do not allow code outside of a function body here. Yes, we will have to do that, no matter what we choose. I am

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Thu, Jan 8, 2015 at 6:35 PM, François Laupretre franc...@tekwire.net wrote: De : Pierre Joye [mailto:pierre@gmail.com] We solved some of the other problems by only allowing definitions, no side-effects - classes, constants, namespaces etc. We do not allow code outside of a function

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Thu, Jan 8, 2015 at 10:46 AM, Adam Harvey ahar...@php.net wrote: I'm going to be a bit hazier than normal in this e-mail, for which I apologise. People who know who I work for, you can probably guess the parameters of the NDA I'm trying not to break here. On 8 January 2015 at 04:38,

[PHP-DEV] PHP 5.6.5 RC1 is ready for testing

2015-01-08 Thread Ferenc Kovacs
Hello PHP 5.6.5 RC1 is available for testing. You can download it from *http://downloads.php.net/tyrael/ http://downloads.php.net/tyrael/* The Windows binaries are available at http://windows.php.net/qa/ This release contains a number of bugfixes. For the list of bugfixes that you can target

RE: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread François Laupretre
-Message d'origine- De : Pierre Joye [mailto:pierre@gmail.com] Is there a technical problem with code located outside of definitions, or is it just a convention (PSR already contains this rule) ? I understand the problems it poses in HHVM, but I don't see why we should check

[PHP-DEV] Re: [PHP] PHP 5.5.21RC1 is ready for testing

2015-01-08 Thread The Doctor
On Thu, Jan 08, 2015 at 06:30:05PM +0100, Julien Pauli wrote: Hello PHP 5.5.21 RC1 is available for testing. You can download it from https://downloads.php.net/~jpauli/ The Windows binaries are available at http://windows.php.net/qa/ This release contains a number of bugfixes. For

[PHP-DEV] Re: [PHP-QA] Re: [PHP] PHP 5.5.21RC1 is ready for testing

2015-01-08 Thread Ferenc Kovacs
On Thu, Jan 8, 2015 at 10:38 PM, The Doctor doc...@doctor.nl2k.ab.ca wrote: On Thu, Jan 08, 2015 at 06:30:05PM +0100, Julien Pauli wrote: Hello PHP 5.5.21 RC1 is available for testing. You can download it from https://downloads.php.net/~jpauli/ The Windows binaries are

RE: [PHP-DEV] [BugFest] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace)

2015-01-08 Thread François Laupretre
Hi, I just created the RFC : https://wiki.php.net/rfc/cyclic-replace I tried to include everything we agreed upon. Tell me if I missed something. Please note that the current PR does not implement the whole RFC. You may review the RFC while I update the code. Please also give me your opinion

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Derick Rethans
On Wed, 7 Jan 2015, Stanislav Malyshev wrote: There is currently no way to install an extension and a PHP library package at the same time. pecl can't install PHP libraries, and Why it needs to be at the same time? I don't see any use case where it would matter if you run one command or

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Benjamin Eberlei
On Wed, Jan 7, 2015 at 11:14 PM, François Laupretre franc...@tekwire.net wrote: De : Pierre Joye [mailto:pierre@gmail.com] ... here, it is proposed to bundle scripts that will be executed at runtime like any other script, except that nothing can be done with them, not even disable

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Derick Rethans
On Wed, 7 Jan 2015, Pierre Joye wrote: On Wed, Jan 7, 2015 at 2:14 PM, François Laupretre franc...@tekwire.net wrote: De : Pierre Joye [mailto:pierre@gmail.com] ... here, it is proposed to bundle scripts that will be executed at runtime like any other script, except that nothing

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Benjamin Eberlei
You are not forced to use the glue code, its just always available. That is what an extension is about, always available code. An option would of course be to not use the extension if you don't need it. Developers can feel free to use the low level API just like PHP also ships high and low level

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Thu, Jan 8, 2015 at 3:43 AM, Derick Rethans der...@php.net wrote: On Wed, 7 Jan 2015, Pierre Joye wrote: On Wed, Jan 7, 2015 at 2:14 PM, François Laupretre franc...@tekwire.net wrote: De : Pierre Joye [mailto:pierre@gmail.com] ... here, it is proposed to bundle scripts that will

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
On Thu, Jan 8, 2015 at 3:36 AM, Derick Rethans der...@php.net wrote: On Wed, 7 Jan 2015, Stanislav Malyshev wrote: There is currently no way to install an extension and a PHP library package at the same time. pecl can't install PHP libraries, and Why it needs to be at the same time? I

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 04/01/2015 12:52, Benjamin Eberlei a écrit : https://wiki.php.net/rfc/extension_prepend_files Sorry but definitively seems a bad idea. If you want a pure-php library, provide as one. If this library need an extension, just describe this in

RE: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Derick Rethans
On Wed, 7 Jan 2015, François Laupretre wrote: De : Pierre Joye [mailto:pierre@gmail.com] ... here, it is proposed to bundle scripts that will be executed at runtime like any other script, except that nothing can be done with them, not even disable them if not required (like using

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Pierre Joye
hi, On Thu, Jan 8, 2015 at 3:41 AM, Benjamin Eberlei kont...@beberlei.de wrote: On Wed, Jan 7, 2015 at 11:14 PM, François Laupretre franc...@tekwire.net wrote: De : Pierre Joye [mailto:pierre@gmail.com] ... here, it is proposed to bundle scripts that will be executed at runtime

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Benjamin Eberlei
On Thu, Jan 8, 2015 at 1:08 PM, Remi Collet r...@fedoraproject.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 04/01/2015 12:52, Benjamin Eberlei a écrit : https://wiki.php.net/rfc/extension_prepend_files Sorry but definitively seems a bad idea. If you want a pure-php

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Lester Caine
On 08/01/15 00:50, Pierre Joye wrote: What is not clear to me is the question of packaging/versioning/deployment. If you consider the PHP glue code is modified more often than the C code, which will be the most frequent case, how do you version/distribute partial packages ? or do you

Re: [PHP-DEV] journald support for Linux systems that use systemd

2015-01-08 Thread Markus Fischer
On 08.01.15 02:14, Johannes Schlüter wrote: On Wed, 2015-01-07 at 17:01 -0500, Mark Montague wrote: I'd like to start an RFC (see the draft proposal at the end of this message) for adding journald support to PHP on Linux systems that use systemd. This message is to measure reaction to

Re: [PHP-DEV] journald support for Linux systems that use systemd

2015-01-08 Thread Adam Harvey
On 8 January 2015 at 01:39, Markus Fischer mar...@fischer.name wrote: On 08.01.15 02:14, Johannes Schlüter wrote: On Wed, 2015-01-07 at 17:01 -0500, Mark Montague wrote: I'd like to start an RFC (see the draft proposal at the end of this message) for adding journald support to PHP on Linux

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Fred Emmott
On Jan 7, 2015, at 2:18 AM, Pierre Joye pierre@gmail.com wrote: That's very much the case. One extension, one install. It doesn't matter whether some of the extension is written in C, and other parts in PHP. HHVM is *all* about this. Making use of C where you need it, and otherwise just

Re: [PHP-DEV] PHP 5.5.21RC1 is ready for testing

2015-01-08 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 08/01/2015 18:30, Julien Pauli a écrit : PHP 5.5.21 RC1 is available for testing. I notice Horde_Auth test suite start to fail. Seems related to . Upgraded crypt_blowfish to version 1.3. (Leigh)

Re: [PHP-DEV] [RFC] Big Integer Support

2015-01-08 Thread Dmitry Stogov
I'm really surprised by the results :) I'll try to find time for bigint on next week and play with it a bit. Thanks. Dmitry. On Wed, Jan 7, 2015 at 2:54 AM, Andrea Faulds a...@ajf.me wrote: Hey Dmitry, On 23 Oct 2014, at 16:22, Dmitry Stogov dmi...@zend.com wrote: I’ve so far been

RE: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread François Laupretre
Quoting Benjamin Eberlei : To be honest, I don't see the use case of shipping optional PHP code inside an extension. As the user of an extension I want all the functions/classes to be available all the time, no matter if the extension developer wrote everything in C or in PHP. Quoting

Re: [PHP-DEV] [RFC] Extension Prepend Files

2015-01-08 Thread Adam Harvey
I'm going to be a bit hazier than normal in this e-mail, for which I apologise. People who know who I work for, you can probably guess the parameters of the NDA I'm trying not to break here. On 8 January 2015 at 04:38, Benjamin Eberlei kont...@beberlei.de wrote: +1 on everything I snipped

Re: [PHP-DEV] PHP 5.5.21RC1 is ready for testing

2015-01-08 Thread Anthony Ferrara
Remi, That test is bogus and is testing undocumented functionality. All of the documented algorithms: http://php.net/manual/en/function.crypt.php either start with a `$` or require salts to be in the alphabet ./0-9A-Za-z So the fact that this worked before was a bug. The reason that the

Re: [PHP-DEV] PHP 5.5.21RC1 is ready for testing

2015-01-08 Thread Adam Harvey
On 8 January 2015 at 10:24, Remi Collet r...@fedoraproject.org wrote: Is this expected ? Notice the diff between (see attachement) : - - 5.4.35 and 5.4.36 show 5 changes, - - 5.5.20 and 5.521RC1 show only 2 - - 5.6.4 and 5.6.5RC1 show only 2 Since you mentioned on IRC that this seemed

Re: [PHP-DEV] Re: [Pre-Vote] Return Types

2015-01-08 Thread Dmitry Stogov
Hi, I've updated the implementation and now it's even more consistent (it shares code for return and argument type hinting). https://github.com/php/php-src/pull/986/files The implementation misses support for reflection. I think, it doesn't make a lot of sense to introduce Reflection support

[PHP-DEV] [RESULT] [RFC] PHP 5.7

2015-01-08 Thread Andrea Faulds
Good evening, Normally I just reply to [VOTE] threads when a vote ends, but Pierre said making a separate thread in future would be a good idea, and I see no real harm in it. This way it’ll catch the attention of people who don’t read all replies to a thread. I’m actually closing this vote a