Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-23 Thread Julien Pauli
On Wed, Jul 23, 2014 at 7:58 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Tue, Jul 22, 2014 at 6:20 PM, Julien Pauli jpa...@php.net wrote: On Tue, Jul 22, 2014 at 2:04 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Tue, Jul 22, 2014 at 1:48 PM, Nikita Popov nikita@gmail.com wrote

Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-23 Thread Julien Pauli
On Wed, Jul 23, 2014 at 11:09 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jul 23, 2014 at 10:57 AM, Julien Pauli jpa...@php.net wrote: On Wed, Jul 23, 2014 at 7:58 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Tue, Jul 22, 2014 at 6:20 PM, Julien Pauli jpa...@php.net wrote

Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-23 Thread Julien Pauli
On Wed, Jul 23, 2014 at 11:12 AM, Julien Pauli jpa...@php.net wrote: On Wed, Jul 23, 2014 at 11:09 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jul 23, 2014 at 10:57 AM, Julien Pauli jpa...@php.net wrote: On Wed, Jul 23, 2014 at 7:58 AM, Ferenc Kovacs tyr...@gmail.com wrote

Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-22 Thread Julien Pauli
On Tue, Jul 22, 2014 at 2:04 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Tue, Jul 22, 2014 at 1:48 PM, Nikita Popov nikita@gmail.com wrote: On Tue, Jul 22, 2014 at 12:27 PM, Ferenc Kovacs tyr...@gmail.com wrote: sorry for the late reply. you are right and after looking into the

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-21 Thread Julien Pauli
On Mon, Jul 21, 2014 at 9:52 AM, Pierre Joye pierre@gmail.com wrote: hi Zeev, On Mon, Jul 21, 2014 at 9:31 AM, Zeev Suraski z...@zend.com wrote: All, As we’re getting closer to release 5.6.0, and given the very high level of interest in phpng, I think it’s time for us to provide some

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-21 Thread Julien Pauli
On Mon, Jul 21, 2014 at 11:27 AM, Dmitry Stogov dmi...@zend.com wrote: Hi Julien, Hi I can only agree here. I'd like a clean API. We need to consider PHP-Next jump as an opportunity to clean our API and finally have something understandable for a newcomer, and documented. That's a move

[PHP-DEV] PHP 5.5.15RC1 is available for testing

2014-07-11 Thread Julien Pauli
to the NEWS file: https://github.com/php/php-src/blob/php-5.5.15RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for July 24th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli Savid Soria

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-10 Thread Julien Pauli
On Tue, Jul 8, 2014 at 2:31 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 08/07/2014 11:08, Julien Pauli wrote: On Tue, Jul 8, 2014 at 9:37 AM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 13/06/2014 16:20, Julien Pauli wrote: - One that relies

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-10 Thread Julien Pauli
On Tue, Jul 8, 2014 at 8:42 AM, Anatol Belski anatol@belski.net wrote: Hi Julien, On Fri, June 13, 2014 16:20, Julien Pauli wrote: Hi, I just wrote a patch to add fallocate() syscall support for streams. It relies on posix_fallocate(), so that it should support many Unixes. Linux's

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-09 Thread Julien Pauli
On Wed, Jul 9, 2014 at 1:06 AM, Kris Craig kris.cr...@gmail.com wrote: On Tue, Jul 8, 2014 at 9:48 AM, Pierre Joye pierre@gmail.com wrote: On Tue, Jul 8, 2014 at 4:51 PM, Andrea Faulds a...@ajf.me wrote: On 8 Jul 2014, at 15:48, Derick Rethans der...@php.net wrote: I've just voted

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-08 Thread Julien Pauli
On Tue, Jul 8, 2014 at 8:42 AM, Anatol Belski anatol@belski.net wrote: Hi Julien, On Fri, June 13, 2014 16:20, Julien Pauli wrote: Hi, I just wrote a patch to add fallocate() syscall support for streams. It relies on posix_fallocate(), so that it should support many Unixes. Linux's

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-08 Thread Julien Pauli
On Tue, Jul 8, 2014 at 9:37 AM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 13/06/2014 16:20, Julien Pauli wrote: Hi, Hello :-), I just wrote a patch to add fallocate() syscall support for streams. It relies on posix_fallocate(), so that it should support many Unixes

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-08 Thread Julien Pauli
On Mon, Jul 7, 2014 at 3:13 PM, Zeev Suraski z...@zend.com wrote: On 7 ביול 2014, at 08:59, Andrea Faulds a...@ajf.me wrote: On 7 Jul 2014, at 13:57, Zeev Suraski z...@zend.com wrote: I don't think it's a problem, because I don't think we're two years away from releasing a phpng-based

Re: [PHP-DEV] RFC: Expectations

2013-10-21 Thread Julien Pauli
On Mon, Oct 21, 2013 at 3:52 AM, Joe Watkins krak...@php.net wrote: On 10/20/2013 12:15 AM, Ferenc Kovacs wrote: On Sun, Oct 20, 2013 at 12:36 AM, Robert Stoll rst...@tutteli.ch wrote: Heya, I do not know how much it concerns this RFC but I came across the following page about an

[PHP-DEV] PHP 5.5.4 has been released

2013-09-19 Thread Julien Pauli
Windows binaries can be found on: http://windows.php.net/download/ The list of changes is recorded in the ChangeLog at: http://www.php.net/ChangeLog-5.php#5.5.4 We would like to thank the contributors and the PHP community for making this release available. Regards, Julien Pauli David Soria

Re: [PHP-DEV] Signature compatibility: Number of arguments

2013-09-18 Thread Julien Pauli
On Thu, Aug 29, 2013 at 11:33 AM, Nikita Popov nikita@gmail.com wrote: Hi internals! This is a spinoff from the variadics thread. Quoting Stas: I also think this: public function query($query, ...$params) public function query(...$params) should be legal too. This is a

Re: [PHP-DEV] PHP CLI setting cooked terminal mode

2013-09-18 Thread Julien Pauli
On Wed, Sep 18, 2013 at 4:20 PM, Alain Williams a...@phcomp.co.uk wrote: On Wed, Sep 18, 2013 at 04:13:39PM +0200, Remi Collet wrote: Le 18/09/2013 16:04, Alain Williams a écrit : What is needed is for this to NOT be called if the standard output is not connected to a tty. From

Re: [PHP-DEV] When will 5.2 binaries be retired from windows.php.net?

2013-09-09 Thread Julien Pauli
On Mon, Sep 9, 2013 at 3:48 PM, Ferenc Kovacs tyr...@gmail.com wrote: Currently the downloads page on http://php.net/ only lists the supported versions(5.3, 5.4, 5.5) and I think that http://windows.php.net/should be synced with that, so the 5.2 links should be removed.

Re: [PHP-DEV] realpath_cache_size description in php.ini

2013-09-05 Thread Julien Pauli
On Wed, Sep 4, 2013 at 8:28 PM, Bostjan Skufca bost...@a2o.si wrote: Hi all, there is no description to be found about what the value of realpath_cache_size actually is. Is it a) max number of files/dirs in the cache or b) overall cache size? I checked php.ini samples distributed with

Re: [PHP-DEV] realpath_cache_size description in php.ini

2013-09-05 Thread Julien Pauli
On Thu, Sep 5, 2013 at 12:29 PM, Chris Wright chr...@aquacool.ltd.ukwrote: On Thu, Sep 5, 2013 at 10:07 AM, Julien Pauli julienpa...@gmail.com wrote: On Wed, Sep 4, 2013 at 8:28 PM, Bostjan Skufca bost...@a2o.si wrote: Hi all, there is no description to be found about what

[PHP-DEV] PHP 5.5.4 RC1 tagged

2013-09-05 Thread Julien Pauli
Hi Internals, Our RC1 of PHP 5.5.4 has been released for testing. It fixes some bugs in the 5.5 branch. 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

Re: [PHP-DEV] [DRAFT] [RFC] Function autoloading

2013-08-30 Thread Julien Pauli
On Fri, Aug 30, 2013 at 9:35 AM, Sebastian Bergmann sebast...@php.netwrote: Am 30.08.2013 03:23, schrieb Anthony Ferrara: All feedback is welcome. Can we please get rid off the __autoload() function first before we consider adding new functionality? Huge +1 to start deprecating this

Re: [PHP-DEV] [DRAFT] [RFC] Function autoloading

2013-08-30 Thread Julien Pauli
On Fri, Aug 30, 2013 at 3:23 AM, Anthony Ferrara ircmax...@gmail.comwrote: All, I have created a new draft RFC implementing function and constant autoloading in master: https://wiki.php.net/rfc/function_autoloading All feedback is welcome. Just to say : one benefit of this work would be

Re: [PHP-DEV] [RFC] Switch from json extension to jsonc [Discussion]

2013-08-30 Thread Julien Pauli
On Fri, Aug 30, 2013 at 10:56 AM, Jordi Boggiano j.boggi...@seld.be wrote: On 29.08.2013 09:52, Zeev Suraski wrote: I have to say that I'm not wildly enthusiastic about making this change over what appears to be a fairly minor comment in the license, and without even going into the

Re: [PHP-DEV] Re: Always set return_value_ptr?

2013-08-30 Thread Julien Pauli
On Fri, Aug 30, 2013 at 2:30 AM, Terry Ellison ellison.te...@gmail.comwrote: On 27/08/13 10:40, Nikita Popov wrote: On Sat, Aug 3, 2013 at 8:16 PM, Nikita Popov nikita@gmail.com wrote: Hi internals! Is there any particular reason why we only pass return_value_ptr to internal

Re: [PHP-DEV] Refactored magic methods

2013-08-29 Thread Julien Pauli
On Thu, Aug 29, 2013 at 5:59 PM, Levi Morrison morrison.l...@gmail.comwrote: On Thu, Aug 29, 2013 at 5:00 AM, Nikita Popov nikita@gmail.comwrote: On Fri, Aug 2, 2013 at 6:47 PM, Julien Pauli jpa...@php.net wrote: Hi internals. I started a work of refactoring magic methods from

Re: [PHP-DEV] Pull requests report (27/8/2013)

2013-08-28 Thread Julien Pauli
Thank you very much for helping with this stuff. Julien Pauli

Re: [PHP-DEV] Re: Always set return_value_ptr?

2013-08-27 Thread Julien Pauli
On Tue, Aug 27, 2013 at 11:40 AM, Nikita Popov nikita@gmail.com wrote: On Sat, Aug 3, 2013 at 8:16 PM, Nikita Popov nikita@gmail.com wrote: Hi internals! Is there any particular reason why we only pass return_value_ptr to internal functions if they have the ACC_RETURN_REFERENCE

Re: [PHP-DEV] [RFC] Constant Scalar Expressions

2013-08-14 Thread Julien Pauli
= 1 + 1; static $bar = 1 2; function foo($a = 1 | 2) {} class foo { public $bar = 1 2; } Thoughts? Haha Anthony, so strange you think about this point I was just myself figuring out yesterday. I'am obviously +1. Julien Pauli.

Re: [PHP-DEV] [RFC] Constant Scalar Expressions

2013-08-14 Thread Julien Pauli
On Wed, Aug 14, 2013 at 12:44 PM, Anthony Ferrara ircmax...@gmail.comwrote: Stas, On Wed, Aug 14, 2013 at 5:01 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! https://wiki.php.net/rfc/const_scalar_expressions I like the idea, but absence of constant support makes this thing much

Re: [PHP-DEV] Refactored magic methods

2013-08-05 Thread Julien Pauli
On Fri, Aug 2, 2013 at 9:55 PM, Levi Morrison morrison.l...@gmail.comwrote: If you have ideas or things to say, I'm listening. https://github.com/jpauli/php-src/compare/macroing Is there a reason you switched from names like `__toString` to `__tostring`

[PHP-DEV] PHP 5.5.2 RC1 is tagged

2013-08-02 Thread Julien Pauli
Hi Internals, Our RC1 of PHP 5.5.2 has been released for testing. It fixes some bugs in the 5.5 branch. 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

[PHP-DEV] Refactored magic methods

2013-08-02 Thread Julien Pauli
Hi internals. I started a work of refactoring magic methods from internals. The first goal was to never write ourselves things like __get, but use macros for those names. (get, set, invoke, etc...). A second goal was to rewrite some parts of the compiler which looked like code duplication which

Re: [PHP-DEV] The day has come

2013-08-01 Thread Julien Pauli
On Wed, Jul 31, 2013 at 11:13 PM, Michael Wallner m...@php.net wrote: Hi all! Tomorrow, August 1st 2013, is the day, it is *my* day. Some of you might already know [1] that I've been hired as a full-time PHP core developer by SmugMug. I'll officially start tomorrow. I hope that I can do a

[PHP-DEV] Adding \Closure::isBindable()

2013-07-31 Thread Julien Pauli
Hi all. From a recent discussion, we noticed that there is no easy user-level way to know if a given closure is bindable or not. Sure, the debatte about https://bugs.php.net/bug.php?id=64761 is still open, I dont see why a static closure is not bindable, knowing that a global scope defined

Re: [PHP-DEV] [PATCH] Constification of some PHP API calls

2013-07-29 Thread Julien Pauli
On Mon, Jul 29, 2013 at 12:01 PM, Andrey Hristov p...@hristov.com wrote: Hi, after experiencing again warnings about conversion from const char * to char * when calling some PHP API functions I decided to spend some time and constify a few of these. The result is a patch that constifies the

[PHP-DEV] PHP 5.5.1 released

2013-07-19 Thread Julien Pauli
://www.php.net/downloads.php#v5.5 Changelog: http://www.php.net/ChangeLog-5.php#5.5.http://www.php.net/ChangeLog-5.php#5.5.0 1 regards, Julien Pauli David Soria Parra

Re: [PHP-DEV] Passing specific bison to build

2013-07-17 Thread Julien Pauli
On Wed, Jul 17, 2013 at 4:00 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi all, I've upgraded to Fedora 19 and bison is too new for PHP 5.4/5.3 I would like to users to select specific bison to build with. --- a/Zend/acinclude.m4 +++ b/Zend/acinclude.m4 @@ -12,7 +12,7 @@

Re: [PHP-DEV] UNKNOW:0, what is it?

2013-06-27 Thread Julien Pauli
On Thu, Jun 27, 2013 at 11:31 AM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 27/06/13 06:40, Laruence wrote: thanks for the report, fixed in https://github.com/php/php-**src/commit/**fa8611c81ee72839cdff3e72b18cc5*

Re: [PHP-DEV] Request for comments - new PHP feature: return typing

2013-06-26 Thread Julien Pauli
On Wed, Jun 26, 2013 at 2:58 PM, Patrick ALLAERT patrickalla...@php.netwrote: 2013/6/26 Maxwell m...@maxvandervelde.com: Sherif, I have to disagree with you on this in the same way that we have type hints for input variables on methods, this could also be useful. Consider an interface

[PHP-DEV] Re: OPCache documentation

2013-06-20 Thread Julien Pauli
On Wed, May 15, 2013 at 3:54 PM, Julien Pauli jpa...@php.net wrote: Hi all, As you know, 5.5 final is coming soon. We are in RC, so mainly stabilizing stuff and preparing the final release for anyone to setup 5.5 on their servers. I see the documentation migration guide has already been

[PHP-DEV] PHP 5.5.0 final has been released!

2013-06-20 Thread Julien Pauli
Announcement: http://www.php.net/release_5_5_0.php Downloads:http://www.php.net/downloads.php#v5.5 Changelog:http://www.php.net/ChangeLog-5.php#5.5.0 Thanks to all contributors that made this new version available. regards, David Soria Parra Julien Pauli

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-13 Thread Julien Pauli
comments: 1) I notice that your book is © Copyright 2013, Julien Pauli - Anthony Ferrara - Nikita Popov. All Rights Reserved rather than GDFL or one of the CC variants of open document licences. They only issue that I see here is that I -- and possibly others -- might be a bit guarded

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-12 Thread Julien Pauli
On Wed, Jun 12, 2013 at 7:05 AM, Michael Wallner m...@php.net wrote: On 10 June 2013 20:33, Nikita Popov nikita@gmail.com wrote: Hi internals! We just published some rather extensive documentation on internal object orientation:

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-12 Thread Julien Pauli
On Wed, Jun 12, 2013 at 1:04 PM, Derick Rethans der...@php.net wrote: On Wed, 12 Jun 2013, Julien Pauli wrote: Well, we prefer writing in rst format than docbook. We could link from php.net/internals to this URL as well , or , we could convert rst to docbook, I heard about tools doing

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-12 Thread Julien Pauli
://www.phpinternalsbook.com/classes_objects.html This is part of a larger project aimed at documenting the engine and making it accessible to new contributors. This looks like an excellent beginning so thanks. A few general comments: 1) I notice that your book is © Copyright 2013, Julien Pauli - Anthony

[PHP-DEV] PHP 5.5 RC3 is ready

2013-06-06 Thread Julien Pauli
Hi Internals, We juste tagged and release PHP 5.5.0 RC3. It fixes some bugs against RC2 code. 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] 5.NEXT Integer and String type modifications

2013-06-04 Thread Julien Pauli
+1 , that will make a big diff . I'm here to help others to go forward. Julien.P On Tue, Jun 4, 2013 at 8:33 AM, Pierre Joye pierre@gmail.com wrote: On Tue, Jun 4, 2013 at 6:59 AM, Michael Wallner m...@php.net wrote: +1 for the idea +1 for Z_STRSIZE at least Z_STRSIZET for the

[PHP-DEV] PHP5.5 RC2 has been tagged

2013-05-24 Thread Julien Pauli
Hi Internals, Our RC2 of PHP 5.5.0 has been released for testing. It fixes some bugs and improves stability against RC1 code. 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

[PHP-DEV] OPCache documentation

2013-05-15 Thread Julien Pauli
Hi all, As you know, 5.5 final is coming soon. We are in RC, so mainly stabilizing stuff and preparing the final release for anyone to setup 5.5 on their servers. I see the documentation migration guide has already been commited, that's a good new. I also see that new features we ship in 5.5 are

[PHP-DEV] First RC of PHP5.5 available

2013-05-09 Thread Julien Pauli
Hi Internals, Our RC1 of PHP 5.5.0 has been released for testing. It fixes some bugs and possible memleaks against last beta. 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

Re: [PHP-DEV] Continued try blocks

2013-04-28 Thread Julien Pauli
On Sat, Apr 27, 2013 at 3:56 PM, Amaury Bouchard ama...@amaury.net wrote: 2013/4/27 Ferenc Kovacs tyr...@gmail.com please don't reuse the continue keyword for it. There are a bunch of code out there where which uses exceptions in a loop context. For example you have a retry counter

[PHP-DEV] Continued try blocks

2013-04-26 Thread Julien Pauli
Hello internals, I had an idea recently with a friend, about a feature try-catch blocks could use. Let me just write an example, you will quickly understand the idea : *?php* * * *try {* * foo();* * bar();* * baz();* *} catch (SomeException $e) {* *dosomestuff();* *continue; /*

[PHP-DEV] PHP 5.5 beta4 available

2013-04-25 Thread Julien Pauli
Hi Internals, PHP 5.5.0 Beta 4 has been released for testing. It fixes some bugs against beta 3. 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] Re: PHP 5.5 beta4 available

2013-04-25 Thread Julien Pauli
On Thu, Apr 25, 2013 at 1:26 PM, Jan Ehrhardt php...@ehrhardt.nl wrote: Julien Pauli in php.internals (Thu, 25 Apr 2013 10:45:17 +0200): PHP 5.5.0 Beta 4 has been released for testing. It fixes some bugs against beta 3. You'll find details in the NEWS file. The packages can be found

Re: [PHP-DEV] Re: PHP 5.5 beta4 available

2013-04-25 Thread Julien Pauli
On Thu, Apr 25, 2013 at 2:36 PM, Pierre Joye pierre@gmail.com wrote: hi, On Thu, Apr 25, 2013 at 1:26 PM, Jan Ehrhardt php...@ehrhardt.nl wrote: Julien Pauli in php.internals (Thu, 25 Apr 2013 10:45:17 +0200): PHP 5.5.0 Beta 4 has been released for testing. It fixes some bugs against

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 pierr...@adoy.net 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

[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 :

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 pierre@gmail.com wrote: hi, On Tue, Apr 16, 2013 at 7:06 PM, Julien Pauli jpa...@php.net wrote: 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

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 ka...@php.net wrote: Hi 2013/4/12 Pierre Joye pierre@gmail.com: On Thu, Apr 11, 2013 at 11:17 PM, Pierrick Charron pierr...@adoy.net wrote: Including 5.3 and 5.4 ?? If removed in 5.3 and 5.4, theres no need for the constant

Re: [PHP-DEV] Extension loading improvements

2013-04-12 Thread Julien Pauli
On Wed, Apr 10, 2013 at 7:14 PM, Dmitry Stogov dmi...@zend.com 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

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 d...@php.net wrote: On 2013-04-12, Johannes Schlüter johan...@schlueters.de 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

Re: [PHP-DEV] Extension loading improvements

2013-04-11 Thread Julien Pauli
On Wed, Apr 10, 2013 at 7:14 PM, Dmitry Stogov dmi...@zend.com 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

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 pierre@gmail.com wrote: On Wed, Apr 10, 2013 at 6:46 PM, Julien Pauli jpa...@php.net 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 (meaning

[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

[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

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 jpa...@php.net wrote: Hello, I wrote (its not finished yet) a wiki sheet to detail how our extensions mechanism work. [...] As a human, I make mistakes

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 hannes.magnus...@gmail.com wrote: On Fri, Apr 5, 2013 at 7:14 AM, Julien Pauli jpa...@php.net wrote: On Fri, Apr 5, 2013 at 12:51 PM, Johannes Schlüter johan...@schlueters.de wrote: On Fri, 2013-04-05 at 08:01 +0200, Pierre Joye wrote

[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 ?

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 pierre@gmail.com wrote: On Thu, Apr 4, 2013 at 9:52 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: Its not only about maintaining it. This experiment failed a long time ago. Overwriting the core streams has proven itself to be the

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 johan...@schlueters.dewrote: 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

[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

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

[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.

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 johan...@schlueters.dewrote: 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

[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] 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 nikita@gmail.com wrote: On Mon, Mar 25, 2013 at 7:42 AM, Dmitry Stogov dmi...@zend.com 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.

[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.

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 d...@php.net 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

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 smalys...@sugarcrm.comwrote: 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

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 poll...@php.net 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.

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 ircmax...@gmail.comwrote: 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 example where it doesn't

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 larue...@php.net 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

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 jpa...@php.net wrote: On Fri, Mar 8, 2013 at 4:27 PM, Laruence larue...@php.net wrote: Hey: I propose to disable zend_alwasy_inline while build PHP in debug mode. that could be easier

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 pierre@gmail.com wrote: On Thu, Mar 7, 2013 at 5:31 PM, Rasmus Lerdorf ras...@lerdorf.com 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

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, nat...@starin.biz wrote: This is not the same at all. When are you going to run this code? Memory allocations

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 davidkm...@gmail.com wrote: On 01/03/2013, at 7:00 AM, Anthony Ferrara ircmax...@gmail.com 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

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 smalys...@sugarcrm.comwrote: 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

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 linep...@gmail.comwrote: Hello, please read my comment inline... 2013/2/28 Sebastian Krebs krebs@gmail.com 2013/2/28 Jens Riisom Schultz ibmu...@me.com Hi everyone, (I got hooked off this discussion, so I have tried to

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 ka...@php.net wrote: Hi 2013/3/1 Julien Pauli jpa...@php.net: 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

[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:

[PHP-DEV] PHP 5.5 upcoming roadmap

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

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 have

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 ras...@lerdorf.com 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

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 ircmax...@gmail.comwrote: 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

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 ras...@lerdorf.com 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

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 willfi...@php.net wrote: On Jan 25, 2013, at 11:25 AM, Zeev Suraski z...@zend.com 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

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 pierre@gmail.com wrote: On Fri, Jan 25, 2013 at 7:53 PM, Rasmus Lerdorf ras...@lerdorf.com 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

[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

<    1   2   3   4   >