Re: [PHP-DEV] [RFC] Move pecl_sync to core

2014-10-01 Thread Julien Pauli
On Wed, Oct 1, 2014 at 3:08 PM, Johannes Schlüter wrote: > On Wed, 2014-10-01 at 14:26 +0200, Ferenc Kovacs wrote: >> . >> personally I think that a pecl extension needs to have stronger arguments >> to be bundled with php-src than the fact that it would probably create a >> bit more exposure for

Re: [PHP-DEV] Re: OpenSSL bug in 5.4.33 and 5.5.17

2014-10-01 Thread Julien Pauli
On Fri, Sep 26, 2014 at 10:09 AM, Stas Malyshev wrote: > Hi! > >> In released 5.4.33 (and 5.5.17) you have 6569db8 + 84a4041 + 32be79d >> (notice I have revert these 3 patches for downstream) >> >> In 5.4/5.5/5.6 you have 6569db8 + 84a4041 + 32be79d + f86b219 + 3728449 >> (all reverted in 5.6.1) >

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

2014-10-02 Thread Julien Pauli
the RC. Thank you for your support. Julien Pauli & David Soria Parra

Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7

2014-10-13 Thread Julien Pauli
On Mon, Oct 13, 2014 at 8:51 AM, Pierre Joye wrote: > On Sun, Oct 12, 2014 at 12:36 PM, Zeev Suraski wrote: > >> >> For the record, I don't feel strongly about # comments, but I do think that >> we should have good reasons to actually *remove* features that are better >> than "this is how it's do

Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API

2014-10-13 Thread Julien Pauli
On Mon, Oct 13, 2014 at 2:45 AM, Marco Pivetta wrote: > On 12 October 2014 00:47, Andrea Faulds wrote: > >> >> On 11 Oct 2014, at 23:42, Rowan Collins wrote: >> >> > func_get_args() and func_num_args(), OTOH, existed solely to support >> variadics, and anything taking advantage of them being fun

Re: [PHP-DEV] Possibilities to fix some really poor behaviors in PHP7

2014-10-14 Thread Julien Pauli
On Tue, Oct 14, 2014 at 9:25 AM, Stas Malyshev wrote: > Hi! > >> ... like the hidden array element: http://3v4l.org/6uFqf >> ... like the hidden object property: http://3v4l.org/RPJXH > > The issue seems to be that array lookup always looks for numeric results > when looking for numeric-like keys.

Re: [PHP-DEV] RFC: PHP 7.0 timeline

2014-10-14 Thread Julien Pauli
On Tue, Oct 14, 2014 at 10:26 AM, Xinchen Hui wrote: > Hey: > > On Tue, Oct 14, 2014 at 4:08 PM, Zeev Suraski wrote: >> All, >> >> >> >> We’ve had some discussions about it during the version name & phpng RFC >> processes, and now that 5.6.0 is behind us – I think it’s time to get a >> more concr

Re: [PHP-DEV] RFC: PHP 7.0 timeline

2014-10-14 Thread Julien Pauli
On Tue, Oct 14, 2014 at 11:05 AM, Zeev Suraski wrote: >> At the starting point (so, something like one year ago), we had many ideas >> to >> add to the new major PHP and had a compute of at least two years >> development. > > Not every idea we have needs to go into 7.0. Specifically, only ideas t

Re: [PHP-DEV] RFC: PHP 7.0 timeline

2014-10-15 Thread Julien Pauli
On Wed, Oct 15, 2014 at 2:39 AM, Rasmus Lerdorf wrote: > On 10/14/2014 05:20 PM, Tjerk Meesters wrote: >> >> On 15 Oct 2014, at 01:24, Rasmus Lerdorf wrote: >> >>> On 10/14/2014 10:14 AM, Stas Malyshev wrote: Hi! > IMO, AST, INT64, NG, Uniforme variables style is enough for a new >

[PHP-DEV] PHP 5.5.18 is available

2014-10-17 Thread Julien Pauli
ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.18 Julien Pauli & David Soria Parra

Re: [PHP-DEV] PHPDBG nonsense (Was: Re: [PHP-CVS] com php-src: Made phpdbg compatible with new engine: ...)

2014-10-28 Thread Julien Pauli
On Mon, Oct 27, 2014 at 6:27 PM, David Soria Parra wrote: > On 2014-10-26, Bob Weinand wrote: >>> Am 26.10.2014 um 17:23 schrieb Lester Caine : >>> >>> On 26/10/14 15:41, Bob Weinand wrote: Ask them at PhpStorm. They were pleased to not have to use DBGp for it. They just initially reque

Re: [PHP-DEV] disallow non-static method calls with self/static in PHP 7

2014-10-28 Thread Julien Pauli
On Sun, Oct 12, 2014 at 12:10 PM, Nikita Popov wrote: > On Sun, Oct 12, 2014 at 10:37 AM, Robert Stoll wrote: > >> Hey, >> >> >> >> I just stumbled over a method call of a non-static method with self and >> was asking myself again, why does PHP support >> this behaviour. An example to outline wh

Re: [PHP-DEV] PHPDBG nonsense (Was: Re: [PHP-CVS] com php-src: Made phpdbg compatible with new engine: ...)

2014-10-28 Thread Julien Pauli
On Tue, Oct 28, 2014 at 2:50 PM, Andrea Faulds wrote: > >> On 28 Oct 2014, at 13:43, Julien Pauli wrote: >> >> When PHP 5.6 has been released, few weeks/months ago, I explicitely >> stated Ferenc (RMing 5.6 together with me), that *it is not a normal >> thi

Re: [PHP-DEV] PHPDBG nonsense (Was: Re: [PHP-CVS] com php-src: Made phpdbg compatible with new engine: ...)

2014-10-29 Thread Julien Pauli
On Wed, Oct 29, 2014 at 12:35 AM, Stas Malyshev wrote: > Hi! > >> phpdbg is under php.net ; every decision about phpdbg should then be >> debatted with all the team, and new ideas, such as a protocol, RFC'ed, >> whoever are the maintainers of the code. It's like that for every >> piece of code, of

Re: [PHP-DEV] PHPDBG nonsense (Was: Re: [PHP-CVS] com php-src: Made phpdbg compatible with new engine: ...)

2014-10-29 Thread Julien Pauli
On Wed, Oct 29, 2014 at 9:10 AM, David Muir wrote: > > On 29/10/2014, at 12:43 AM, Julien Pauli wrote: > >> On Mon, Oct 27, 2014 at 6:27 PM, David Soria Parra wrote: >>> On 2014-10-26, Bob Weinand wrote: >>>>> Am 26.10.2014 um 17:23 schrieb Lester Cai

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

2014-10-31 Thread Julien Pauli
to the NEWS file: https://github.com/php/php-src/blob/php-5.5.19RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for November 13th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & D

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

2014-10-31 Thread Julien Pauli
to the NEWS file: https://github.com/php/php-src/blob/php-5.6.3RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for November 13th, if no critical issues will be discovered in the RC. Thank you for your support. Ferenc Kovacs & Ju

Re: [PHP-DEV] RFC Process: Should we hold two different votes?

2014-11-05 Thread Julien Pauli
On Wed, Nov 5, 2014 at 9:35 AM, Zeev Suraski wrote: >> -Original Message- >> From: Andrea Faulds [mailto:a...@ajf.me] >> Sent: Wednesday, November 05, 2014 1:59 AM >> To: PHP internals >> Subject: [PHP-DEV] RFC Process: Should we hold two different votes? >> >>Why not hold two >> different

Re: [PHP-DEV] [RFC] GitHub Pull Requests Triage Team

2014-11-14 Thread Julien Pauli
On Thu, Oct 30, 2014 at 10:57 PM, John Bafford wrote: > Hi, > > I would like to propose the creation of a team to triage the pull requests on > GitHub, to help ensure that the pull requests are handled in a timely manner. > I am also volunteering to lead such a team, should the RFC be approved.

[PHP-DEV] PHP 5.5.19 is available

2014-11-14 Thread Julien Pauli
://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/ The full list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.19 Julien Pauli & David Soria Parra

Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors

2014-11-19 Thread Julien Pauli
On Wed, Nov 19, 2014 at 5:15 AM, Yasuo Ohgaki wrote: > Hi all, > > On Wed, Nov 19, 2014 at 8:11 AM, Levi Morrison wrote: > >> I am proposing an RFC[1] to remove PHP 4 constructors in PHP 7. If >> accepted, methods with the same name as their defining class will no >> longer be recognized as const

Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors

2014-11-19 Thread Julien Pauli
On Wed, Nov 19, 2014 at 4:10 PM, Andrea Faulds wrote: > >> On 19 Nov 2014, at 15:07, Alain Williams wrote: >> >> It is a problem trying to maintain code for different versions of PHP, >> especially where there are syntax differences. It would be really nice to >> have >> some sort of conditional

Re: [PHP-DEV] Re: [OFFTOPIC] conditional compilation, WAS [RFC] Remove PHP 4 Constructors

2014-11-21 Thread Julien Pauli
On Fri, Nov 21, 2014 at 5:55 PM, Alain Williams wrote: > On Wed, Nov 19, 2014 at 07:17:48PM +0100, Julien Pauli wrote: > >> [Off Topic] >> >> It's been a long time I've been thinking about having a compile-time >> preprocessor integrated into our parser/c

[PHP-DEV] PHP 5.5.20RC1 is available

2014-11-28 Thread Julien Pauli
anned for December 11th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & David Soria Parra

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-12-01 Thread Julien Pauli
On Sun, Nov 30, 2014 at 8:33 PM, Ferenc Kovacs wrote: > On Sun, Nov 30, 2014 at 8:09 PM, Rowan Collins > wrote: > >> On 30/11/2014 18:06, Remi Collet wrote: >> >>> >However, I think we should stop including features in our patch >releases. I've heard a few others express similar sentiment, b

Re: [PHP-DEV] [RFC] Turn gc_collect_cycles into a function pointer

2014-12-04 Thread Julien Pauli
y could also benefit from refactoring to have a better knowing of other extensions, and a true dependency manager. Julien Pauli -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Turn gc_collect_cycles into a function pointer

2014-12-04 Thread Julien Pauli
On Thu, Dec 4, 2014 at 12:39 PM, Ferenc Kovacs wrote: > > > On Thu, Dec 4, 2014 at 11:53 AM, Julien Pauli wrote: >> >> On Thu, Dec 4, 2014 at 9:30 AM, Benjamin Eberlei >> wrote: >> > Good morning, >> > >> > This is just a very small

Re: [PHP-DEV] [RFC] Turn gc_collect_cycles into a function pointer

2014-12-04 Thread Julien Pauli
On Thu, Dec 4, 2014 at 1:17 PM, Julien Pauli wrote: > On Thu, Dec 4, 2014 at 12:39 PM, Ferenc Kovacs wrote: >> >> >> On Thu, Dec 4, 2014 at 11:53 AM, Julien Pauli wrote: >>> >>> On Thu, Dec 4, 2014 at 9:30 AM, Benjamin Eberlei >>> wrote: >

Re: [PHP-DEV] bison 3.0

2014-12-12 Thread Julien Pauli
On Thu, Dec 11, 2014 at 2:36 PM, Leigh wrote: > On 11 December 2014 at 07:52, Sebastian Bergmann wrote: >> Hi! >> >> I just updated my notebook to Fedora 21 and am no longer able to >> build PHP on it since I now have bison 3.0.2 instead of bison 2.7. >> >> bison 3.0 is blacklisted in Zend/ac

[PHP-DEV] On the road to PHP 5.7 , or not ?

2014-12-12 Thread Julien Pauli
Hi people. Ferenc and I, actual RM of 5.5 and 5.6 , were discussing the calendar today on IRC. Let's start with facts : - We release new PHP versions (major or minor) on summer. Usually, if we can have it end of June, it is good. - We may delay that, 5.6 got released end of summer : in september

Re: [PHP-DEV] On the road to PHP 5.7 , or not ?

2014-12-12 Thread Julien Pauli
On Fri, Dec 12, 2014 at 3:47 PM, Ferenc Kovacs wrote: > > > On Fri, Dec 12, 2014 at 3:34 PM, Derick Rethans wrote: >> >> On Fri, 12 Dec 2014, Julien Pauli wrote: >> >> > So the main question is : *What version will we release next year ?* >> > >&

Re: [PHP-DEV] [RFC] PHP 5.7

2014-12-16 Thread Julien Pauli
On Tue, Dec 16, 2014 at 8:55 PM, Florian Margaine wrote: > > Hi list, > > I think having a minor PHP version for the only sake of adding E_DEPRECATED > is kind of pointless to be honest. Historically, PHP (or other languages > for the matter, I'm thinking of python) minor versions have brought new

[PHP-DEV] PHP 5.5.20 is available

2014-12-19 Thread Julien Pauli
://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/ The full list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.20 Julien Pauli & David Soria Parra

Re: [PHP-DEV] About SUCCESS/FAILURE

2015-01-05 Thread Julien Pauli
On Sat, Dec 27, 2014 at 4:45 AM, Pierre Joye wrote: > On Dec 26, 2014 7:42 PM, "Xinchen Hui" wrote: > > > > Hey: > > > > On Fri, Dec 26, 2014 at 7:54 PM, Andrea Faulds wrote: > > > > > >> On 26 Dec 2014, at 05:57, Levi Morrison wrote: > > >> > > >>> On Thu, Dec 25, 2014 at 2:33 PM, Michael Wal

Re: [PHP-DEV] PHP7 RM

2015-01-05 Thread Julien Pauli
On Mon, Dec 29, 2014 at 1:08 AM, Kalle Sommer Nielsen wrote: > Happy holidays (and the new year to come) internals > > With the ongoing effort to focus resources into PHP7, we are yet to > elect a release master (or two) for PHP7. > > Since this is done traditionally by > 'who-have-the-time-to-in

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

2015-01-05 Thread Julien Pauli
On Sun, Jan 4, 2015 at 12:52 PM, Benjamin Eberlei wrote: > Hey everyone, > > I want to open discussion on my RFC to strengthen the ability of extensions > to provide functionality to developers in both C **and** PHP code. > > For this extensions can add PHP files to a list of "prepend files" that

Re: [PHP-DEV] PHP 7 API naming conventions: str vs string

2015-01-05 Thread Julien Pauli
On Sun, Jan 4, 2015 at 1:57 AM, Sara Golemon wrote: > On Sat, Jan 3, 2015 at 3:42 PM, Nikita Popov wrote: > > Or maybe be more explicit and use "cstr" for C strings. (For symmetry the > > zend_string type could become zstr.) > > > I personally prefer cstr/zstr for explicitness, but agree that th

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

2015-01-05 Thread Julien Pauli
On Mon, Jan 5, 2015 at 5:26 PM, Rowan Collins wrote: > Julien Pauli wrote on 05/01/2015 16:19: > >> Hello. >> >> Can't this be already done somehow ? In RINIT stage obviously. >> I don't understand why to change our API to add a feature we already ca

Re: [PHP-DEV] ZEND_ENGINE_2 define

2015-01-05 Thread Julien Pauli
On Sun, Jan 4, 2015 at 2:21 PM, Derick Rethans wrote: > On Fri, 2 Jan 2015, Sara Golemon wrote: > > > > > > It was deliberate, I did it. The reason for getting rid of it was > because it makes checking ZE2 simpler, actually. I didn't want to have to > do #if defined(ZEND_ENGINE_2) && !defined(ZEN

Re: [PHP-DEV] Re: Faster zend sorting implementation

2015-01-05 Thread Julien Pauli
On Mon, Jan 5, 2015 at 6:09 PM, Xinchen Hui wrote: > On Tue, Jan 6, 2015 at 1:08 AM, Xinchen Hui wrote: > > Hey: > > > > I was working on zend_qsort improvement. but I got a problem need > > to be disscussed with you fist.. > first > > > > as we know, previously zend_qsort is not a st

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

2015-01-08 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.5.21RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for January 22nd, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & David S

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

2015-01-12 Thread Julien Pauli
On Mon, Jan 12, 2015 at 8:16 AM, Remi Collet wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Le 11/01/2015 10:37, Remi Collet a écrit : > > Le 08/01/2015 18:30, Julien Pauli a écrit : > >> Hello > > > >> PHP 5.5.21 RC1 is available for

Re: [PHP-DEV] [RFC] Scalar Type Hints v0.2

2015-01-14 Thread Julien Pauli
On Wed, Jan 14, 2015 at 1:16 AM, Andrea Faulds wrote: > Good evening, > > I’ve made some quite significant changes to my Scalar Type Hints RFC, and > bumped its version to 0.2. > > Here: https://wiki.php.net/rfc/scalar_type_hints > > This is a new thread because I’ve made a significant revision t

[PHP-DEV] Top 10 Pecl extensions PHP7 compatibility

2015-01-14 Thread Julien Pauli
Hello, Had a discussion with Rasmus today. It would be cool if we could have a PHP7 compat of our top-10 Pecl extensions before our first PHP7 RC. This will allow more people to help testing both PHP7 (some people may need some of the top-10 pecl ext to run their apps) and those extensions. So

[PHP-DEV] Remove old PHP4 extension loading code

2015-01-20 Thread Julien Pauli
Hi ! Here is a PR removing our old PHP4 zend_module_entry structure compatibility. I'm about to merge it against master, if no-one objects. https://github.com/php/php-src/pull/988 Julien.P

Re: [PHP-DEV] PHP7 Homework for everyone reading this list

2015-01-22 Thread Julien Pauli
On Thu, Jan 22, 2015 at 6:36 PM, Sebastian Bergmann wrote: > Am 22.01.2015 um 18:05 schrieb Rasmus Lerdorf: > > It would be really useful if we got more eyes on this. Install php7, > > then install any random app and see how it goes. > > It's even easier to check whether a component or framework

[PHP-DEV] PHP 5.5.21 is available

2015-01-23 Thread Julien Pauli
Hi, The PHP development team announces the immediate availability of PHP 5.5.21. CVE-2015-0231, CVE-2014-9427 and CVE-2015-0232 have been addressed in this release, as well as many other bug fixes. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.21 ple

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Julien Pauli
On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner wrote: > Hi, > > Discussion has been very low on this topic since it was proposed on > August 19th, so I just opened the vote on the RFC whether to add > pecl_http to the core. The vote will be open until about 12:00 UTC on > Friday, February 6th.

Re: [PHP-DEV] [RFC] Fix "foreach" behavior

2015-01-30 Thread Julien Pauli
On Fri, Jan 30, 2015 at 8:23 AM, Dmitry Stogov wrote: > Hi, > > I'd like to start discussion about fixing inconsistent "foreach" statement > behavior. > The implementation is almost done. It not only fixes inconsistencies in a > defined by RFC way but also improves performance in most usual cases

Re: [PHP-DEV] Is it a good idea to have a "strict" mode?

2015-01-30 Thread Julien Pauli
On Fri, Jan 30, 2015 at 6:16 AM, César Rodas wrote: > Hi! > > I'm wondering if it would be a good idea to have a `strict` mode in PHP. > Many language have them and it is a good idea. > > I think it should be a bit different in PHP, it should encourage the > following things: > > - Avoid depreca

Re: [PHP-DEV] Enable opcache by default in PHP7?

2015-02-03 Thread Julien Pauli
OPcache will bring nothing to dev env, except possible failures and WTFs. So I suggest not enabling it in development php.ini. Julien.P On Tue, Feb 3, 2015 at 6:59 AM, Pierre Joye wrote: > On Feb 3, 2015 11:26 AM, "Xinchen Hui" wrote: > > > > Hey: > > > > opcache is disabled by defaul

Re: [PHP-DEV] $http_response_header

2015-02-03 Thread Julien Pauli
On Mon, Feb 2, 2015 at 6:19 PM, Ferenc Kovacs wrote: > On Tue, Dec 2, 2014 at 11:28 AM, Ferenc Kovacs wrote: > > > > > > > On Tue, Dec 2, 2014 at 1:08 AM, Rowan Collins > > wrote: > > > >> On 1 December 2014 22:28:04 GMT, Ralph Schindler < > >> ra...@ralphschindler.com> wrote: > >> >Hi all, > >

Re: [PHP-DEV] PHP5.5.0alpha2 release

2012-12-20 Thread Julien Pauli
On Thu, Dec 20, 2012 at 9:30 PM, Hannes Magnusson < hannes.magnus...@gmail.com> wrote: > From: jpauli > Date: Thu, Dec 20, 2012 at 9:26 AM > Subject: [PHP-DEV] PHP5.5.0alpha2 release > To: PHP Internals > > > > I would appreciate that you would use your full real name now that you > are represen

Re: [PHP-DEV] PHP5.5.0alpha2 release

2012-12-21 Thread Julien Pauli
On Fri, Dec 21, 2012 at 1:51 AM, Adam Harvey wrote: > On 21 December 2012 01:26, jpauli wrote: > > We just tagged PHP 5.5.0alpha2 today. This > > release contains bug fixes against alpha1, as well as > > new features. > > Are we going to have a news post for this on the Web site? > (Alternative

Re: [PHP-DEV] Re: Was Reflection annotations reader - Pull APC in Core Already

2013-01-09 Thread Julien Pauli
On Wed, Jan 9, 2013 at 6:06 PM, Derick Rethans wrote: > On Wed, 9 Jan 2013, Anthony Ferrara wrote: > > > Rasmus wrote: > > > > > This is my worry as well. Especially when it comes to opcode cache > > > support. Most of the patches I see these days completely ignore the > > > opcode cache side of

[PHP-DEV] PHP5.5.0alpha3 released

2013-01-10 Thread Julien Pauli
Hi Internals, PHP 5.5.0alpha3 has been tagged today. This release contains bug fixes against alpha2, as well as new features in existent APIs. The packages can be found at: http://downloads.php.net/dsp As you know, you may read the NEWS file in the source tree for full changelog of this rele

[PHP-DEV] PHP5.5.0alpha4 is ready for testing

2013-01-24 Thread Julien Pauli
Hi Internals, PHP 5.5.0alpha4 has been tagged today. This release contains bug fixes against alpha3, and adds the class name resolution via scalar and the DateTimeImmutable The packages can be found at: http://downloads.php.net/dsp As you know, you may read the NEWS file in the source tree f

Re: [PHP-DEV] HEADS UP: Upcoming Feature Freeze for PHP 5.5.0

2013-01-25 Thread Julien Pauli
On Fri, Jan 25, 2013 at 9:19 AM, Rasmus Lerdorf wrote: > On 01/24/2013 11:56 PM, Ralf Lang wrote: > >> From what I understood from Rasmus the biggest challenge with merging > APC > >> into core is the fact that the compiler currently isn't built to support > >> opcode caching. One of the challeng

Re: [PHP-DEV] HEADS UP: Upcoming Feature Freeze for PHP 5.5.0

2013-01-25 Thread Julien Pauli
On Fri, Jan 25, 2013 at 5:47 PM, Will Fitch wrote: > > On Jan 25, 2013, at 11:25 AM, Zeev Suraski wrote: > > >> Either by a number of people stepping up to help with the existing APC > > code, or > >> perhaps more realistically making it a priority in PHP 5.6 to streamline > > the > >> engine an

Re: [PHP-DEV] HEADS UP: Upcoming Feature Freeze for PHP 5.5.0

2013-01-25 Thread Julien Pauli
On Fri, Jan 25, 2013 at 8:05 PM, Pierre Joye wrote: > On Fri, Jan 25, 2013 at 7:53 PM, Rasmus Lerdorf > wrote: > > On 01/25/2013 10:49 AM, Zeev Suraski wrote: > > > >> Ok, I'll write up an RFC, and in parallel we'll try to figure out the > >> mechanics of actually making it happen. > > > > Commi

Re: [PHP-DEV] HEADS UP: Upcoming Feature Freeze for PHP 5.5.0

2013-01-26 Thread Julien Pauli
On Sat, Jan 26, 2013 at 9:26 AM, Anthony Ferrara wrote: > Pierre et al, > > I would prefer to have it in pecl and merge once ready/cleaned up. > > Yes, same idea than with APC, except that it could be faster (for what > > I read, waiting to see the sources). Also we can review and do the > > chang

Re: [PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Julien Pauli
On Thu, Feb 14, 2013 at 3:03 PM, Ivan Enderlin @ Hoa < ivan.ender...@hoa-project.net> wrote: > Hi internal, > > A missing feature in PHP is a file system watcher/monitoring available for > almost all platforms. On Linux, we have inotify (available in PHP through > pecl/inotify), on Mac OS X, we ha

Re: [PHP-DEV] Zend Optimizer+ Source Code now available

2013-02-14 Thread Julien Pauli
On Thu, Feb 14, 2013 at 5:32 PM, Rasmus Lerdorf wrote: > On 02/14/2013 11:21 AM, Jan Ehrhardt wrote: > > Rasmus Lerdorf in php.internals (Thu, 14 Feb 2013 11:14:20 -0500): > >> On 02/14/2013 10:55 AM, Jan Ehrhardt wrote: > >>> Zeev Suraski in php.internals (Thu, 14 Feb 2013 17:21:48 +0200): > >>>

[PHP-DEV] PHP 5.5 upcoming roadmap

2013-02-15 Thread Julien Pauli
p.net/rfc/optimizerplus Julien Pauli and David Soria Parra

[PHP-DEV] PHP 5.5 alpha 5 is released

2013-02-22 Thread Julien Pauli
Hi Internals, PHP 5.5.0alpha5 has been tagged and released. This release contains bug fixes against alpha4, and adds new features in the mysqli and mysqlnd API, new HTTP codes and the possibility to change the temp directory using a php.ini directive. The packages can be found at: http://dow

Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5

2013-03-01 Thread Julien Pauli
On Fri, Mar 1, 2013 at 11:39 AM, David Muir wrote: > > On 01/03/2013, at 7:00 AM, Anthony Ferrara wrote: > > > Hey all, > > > > Based off of the recent discussion around pulling in ZO+ into core, I've > > come to the conclusion that we should also pull in XDebug and Suhosin > into > > core at th

Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5

2013-03-01 Thread Julien Pauli
On Thu, Feb 28, 2013 at 9:13 PM, Stas Malyshev wrote: > Hi! > > > Based off of the recent discussion around pulling in ZO+ into core, I've > > come to the conclusion that we should also pull in XDebug and Suhosin > into > > core at the same time. > > Suhosin has multiple BC-incompatible and perfor

Re: [PHP-DEV] I would like to write an RFC for the addition of an internal keyword

2013-03-01 Thread Julien Pauli
On Thu, Feb 28, 2013 at 12:40 PM, Lazare Inepologlou wrote: > Hello, > > please read my comment inline... > > 2013/2/28 Sebastian Krebs > > > 2013/2/28 Jens Riisom Schultz > > > > > Hi everyone, > > > > > > (I got "hooked off" this discussion, so I have tried to keep up by > > reading > > > the

Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5

2013-03-01 Thread Julien Pauli
On Fri, Mar 1, 2013 at 12:49 PM, Kalle Sommer Nielsen wrote: > Hi > > 2013/3/1 Julien Pauli : > > I guess the ini declaration order and then the order the modules get > loaded > > in the engine. > > We could also look at implementing a module-load-order internally i

Re: [PHP-DEV] Memory warning hook

2013-03-06 Thread Julien Pauli
One should try ext/memtrack http://pecl.php.net/package/memtrack Also ext/memprof https://github.com/arnaud-lb/php-memory-profiler/ Julien.Pauli On Tue, Mar 5, 2013 at 9:14 PM, wrote: > >This is not the same at all. When are you going to run this code? Memory > allocations happen all the time.

Re: [PHP-DEV] [VOTE] Integrating Zend Optimizer+ into the PHP distribution

2013-03-07 Thread Julien Pauli
On Thu, Mar 7, 2013 at 5:46 PM, Pierre Joye wrote: > On Thu, Mar 7, 2013 at 5:31 PM, Rasmus Lerdorf wrote: > > On 03/07/2013 08:26 AM, Pierre Joye wrote: > > > >> That being said, if o+ would have 2/3 of the votes, I think it is > >> possible to get it stable until 5.5 final, not easy but possib

Re: [PHP-DEV] disable zend_always_inline in debug mode

2013-03-08 Thread Julien Pauli
On Fri, Mar 8, 2013 at 4:27 PM, Laruence wrote: > Hey: > >I propose to disable zend_alwasy_inline while build PHP in debug mode. > >that could be easier for debuging some bugs.. > >what do you think? > > > thanks > > >simple patch: > > diff --git a/Zend/zend.h b/Zend/zend.h > inde

Re: [PHP-DEV] disable zend_always_inline in debug mode

2013-03-08 Thread Julien Pauli
disabled : Total 10.678 Julien.Pauli On Fri, Mar 8, 2013 at 4:32 PM, Julien Pauli wrote: > On Fri, Mar 8, 2013 at 4:27 PM, Laruence wrote: > >> Hey: >> >>I propose to disable zend_alwasy_inline while build PHP in debug mode. >> >>that co

Re: [PHP-DEV] Could we kill call_user_func?

2013-03-18 Thread Julien Pauli
On Sat, Mar 16, 2013 at 7:51 AM, Sara Golemon wrote: > > ${'_'.!$_=getCallback()}(); > > > Well now, that's an... interesting abuse of resolution order and type > juggling. > > Really crazy, yeah Also, AFAIR, call_user_func() doesn't work with functions using references in args. Julien.Pauli

Re: [PHP-DEV] Could we kill call_user_func?

2013-03-18 Thread Julien Pauli
On Mon, Mar 18, 2013 at 3:33 PM, Anthony Ferrara wrote: > Angel, > > On 18/03/13 14:04, Julien Pauli wrote: >> > Also, AFAIR, call_user_func() doesn't work with functions using >> > references in args. Julien.Pauli >> AFAIK it does. >> Do you have an ex

Re: [PHP-DEV] Could we kill call_user_func?

2013-03-19 Thread Julien Pauli
On Tue, Mar 19, 2013 at 12:42 AM, Stas Malyshev wrote: > Hi! > > > Also, AFAIR, call_user_func() doesn't work with functions using > references > > in args. > > Use call_user_func_array() for that, it supports refs. > Isn't it since 5.3 or so ? Julien.Pauli

[PHP-DEV] PHP5.5 beta 1 is ready

2013-03-21 Thread Julien Pauli
Hi Internals, PHP 5.5.0 Beta 1 has been released for testing. As you know, this code base is shipped with Zend OPCache. The packages can be found at: http://downloads.php.net/dsp and windows packages at http://windows.php.net/qa Please test the release carefully and report any bugs. Don't

Re: [PHP-DEV] Enable Zend OPCache by default in php.ini-development during beta phase?

2013-03-21 Thread Julien Pauli
On Thu, Mar 21, 2013 at 4:02 PM, David Soria Parra wrote: > Hi Internals, > > I added the default Zend OPCache settings to php.ini-development and > php.ini-production atm. To have more people testing the opcache I would > like to enable the OPCache in php.ini-development during the beta phase >

Re: [PHP-DEV] OPcache precompiled dll's for older Windows versions

2013-03-25 Thread Julien Pauli
On Mon, Mar 25, 2013 at 3:53 PM, Nikita Popov wrote: > On Mon, Mar 25, 2013 at 7:42 AM, Dmitry Stogov wrote: > > > Hi, > > > > We are going to release a new PECL version today or tomorrow, > > and, yes, we are going to support hte pecl build for old versions as > well. > > I'm not sure about php

[PHP-DEV] PHP 5.5 Beta 2 is released

2013-03-28 Thread Julien Pauli
Hi Internals, PHP 5.5.0 Beta 2 has been released for testing. It fixes a bug that could prevent beta 1 from compiling, and other bugs you'll find in the NEWS file. The packages can be found at: http://downloads.php.net/dsp and windows packages at http://windows.php.net/qa Please test the

Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Julien Pauli
Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter wrote: > Hi, > > with opcache being bundled I expectr to see multiple bugs like #64568 > where users are trying to load opcache as PHP module (using extension= > in php.ini), I tried to improve the error message a bit. > > In > > https://github.com/j

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-04 Thread Julien Pauli
IMO , we should remove that feature from 5.5. If Laruence is OK to maintain it, then we keep it, but Laruence, please, improve it so. We keep it if Laruence can make it stable for 5.5 final. If he cant , or doesn't want to work on it any more while in betas ; then we should remove curlwrapper from

[PHP-DEV] Adding a way to retreive compile options at runtime

2013-04-04 Thread Julien Pauli
Hello everybody, Today we talked about a way to detect --with-curlwrappers at runtime. It is nowadays not possible easilly. Then , I remembered I once proposed to add a new function that could return every ./configure options used to compile the runtime PHP the code is beeing run on. We already

Re: [PHP-DEV] Re: Adding a way to retreive compile options at runtime

2013-04-04 Thread Julien Pauli
The main use case was the topic about --with-curlwrappers from Laruence few days ago. Actually, for this use case , there is no way to detect if PHP's been compiled with --with-curlwrappers or not. The only way to detect this at runtime is to open a socket, then stream_get_metadata() onto it. Som

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-05 Thread Julien Pauli
On Fri, Apr 5, 2013 at 8:01 AM, Pierre Joye wrote: > On Thu, Apr 4, 2013 at 9:52 PM, Hannes Magnusson > wrote: > > > Its not only about maintaining it. > > This experiment failed a long time ago. Overwriting the core streams > > has proven itself to be the wrong way. > > I cannot agree more. > >

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-05 Thread Julien Pauli
On Fri, Apr 5, 2013 at 12:51 PM, Johannes Schlüter wrote: > On Fri, 2013-04-05 at 08:01 +0200, Pierre Joye wrote: > > > stream_wrapper_unregister("http"); > > > stream_wrapper_register("http", "CurlStreamWrapper"); > > > and then stream_wrapper_restore("http") to go back to the core > > streams. >

[PHP-DEV] Removing old pre_41 zend_module_entry struct checks while loading exts

2013-04-05 Thread Julien Pauli
All is into the title. A patch can be found here https://github.com/jpauli/php-src/compare/remove_dl_php4_support The idea is to get rid of those old stuff, like we did with session.compat some time ago. If you have ideas, improvements ... Joe also talked about adding a header to the zend_module

[PHP-DEV] New wiki article about our extension mechanism

2013-04-10 Thread Julien Pauli
Hello, I wrote (its not finished yet) a wiki sheet to detail how our extensions mechanism work. This is not about how to write an extension :-p but it shows how the engine loads extensions, how it calls different hooks from them, and what are the differences between Zend extensions and PHP extens

Re: [PHP-DEV] New wiki article about our extension mechanism

2013-04-10 Thread Julien Pauli
On Wed, Apr 10, 2013 at 4:51 PM, Hannes Magnusson < hannes.magnus...@gmail.com> wrote: > On Wed, Apr 10, 2013 at 6:53 AM, Julien Pauli wrote: > > Hello, > > > > I wrote (its not finished yet) a wiki sheet to detail how our extensions > > mechanism work. > [

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-10 Thread Julien Pauli
On Fri, Apr 5, 2013 at 8:54 PM, Hannes Magnusson wrote: > On Fri, Apr 5, 2013 at 7:14 AM, Julien Pauli wrote: > > On Fri, Apr 5, 2013 at 12:51 PM, Johannes Schlüter < > johan...@schlueters.de> > > wrote: > >> > >> On Fri, 20

[PHP-DEV] Extension loading improvements

2013-04-10 Thread Julien Pauli
Hi all, Here are two branches that improve extension loading mechanisms and remove dusty old features not used any more. No BC or nothing, though perhaps some Windows support tricks to add ? Thoughts ? https://github.com/jpauli/php-src/extensions_improvements

Re: [PHP-DEV] Extension loading improvements

2013-04-11 Thread Julien Pauli
On Wed, Apr 10, 2013 at 7:14 PM, Dmitry Stogov wrote: > Hi, > > 1) I didn't get why do we need fprintf("Loaded/Unloaded extension"). It'll > break all the tests in DEBUG mode > Great catch > > 2) zend_error() may work through SAPI handler (e.g. for FastCGI sapi it > may try to send error messa

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-11 Thread Julien Pauli
On Wed, Apr 10, 2013 at 6:52 PM, Pierre Joye wrote: > On Wed, Apr 10, 2013 at 6:46 PM, Julien Pauli wrote: > > > Beta3 has been taggued with curl wrappers, and with the new > > CURL_WRAPPERS_ENABLED constant :-p > > > > Do we all agree to remove that feature (mea

[PHP-DEV] PHP 5.5 beta3 is here

2013-04-11 Thread Julien Pauli
Hi Internals, PHP 5.5.0 Beta 3 has been released for testing. It fixes some bugs against beta 2. You'll find details in the NEWS file. The packages can be found at: http://downloads.php.net/dsp and windows packages at http://windows.php.net/qa Please test the release carefully and report

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-12 Thread Julien Pauli
On Fri, Apr 12, 2013 at 1:34 AM, Kalle Sommer Nielsen wrote: > Hi > > 2013/4/12 Pierre Joye : > > On Thu, Apr 11, 2013 at 11:17 PM, Pierrick Charron > wrote: > >> Including 5.3 and 5.4 ?? > > If removed in 5.3 and 5.4, theres no need for the constant anymore. > Right :-) I agree with Pierre as

Re: [PHP-DEV] Extension loading improvements

2013-04-12 Thread Julien Pauli
On Wed, Apr 10, 2013 at 7:14 PM, Dmitry Stogov wrote: > Hi, > > 1) I didn't get why do we need fprintf("Loaded/Unloaded extension"). It'll > break all the tests in DEBUG mode > > 2) zend_error() may work through SAPI handler (e.g. for FastCGI sapi it > may try to send error message to WebServer w

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-12 Thread Julien Pauli
On Fri, Apr 12, 2013 at 4:09 PM, David Soria Parra wrote: > On 2013-04-12, Johannes Schlüter wrote: > > 5.3 users might depend on some part of the behavior and have learned to > > live with bugs. We shouldn't kick "features" at this stage. > > curlwrappers should definatly stay in 5.3 and 5.4. I

Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers

2013-04-16 Thread Julien Pauli
On Tue, Apr 16, 2013 at 3:01 PM, Pierrick Charron wrote: > I created a straightforward RFC that you can access here > https://wiki.php.net/rfc/curl-wrappers-removal-rfc . > > If someone have something more to add in it, feel free. Otherwise I will > start the vote so that we could remove it in 5.

[PHP-DEV] WIP on extension loading improvement

2013-04-16 Thread Julien Pauli
Hello, I recently worked on the extension loading system to fully understand it and try to improve it while keeping full BC. Joe helped me in this task. I wrote an RFC giving details about what we have today ( https://wiki.php.net/internals/extensions ) The branch can be found here : https://gith

Re: [PHP-DEV] WIP on extension loading improvement

2013-04-16 Thread Julien Pauli
On Tue, Apr 16, 2013 at 7:55 PM, Pierre Joye wrote: > hi, > > On Tue, Apr 16, 2013 at 7:06 PM, Julien Pauli wrote: > > Hello, > > > > I recently worked on the extension loading system to fully understand it > > and try to improve it while keeping full BC. >

<    1   2   3   4   >