Re: [PHP-DEV] Allow dropping typehints during inheritance

2015-02-04 Thread Julien Pauli
lly a good thing. However, I'm all good for us to find a clear solution on type parameters, return types, extended type hints ... whatever other RFC will be accepted about this kind of subject. PHP7 should also be the moment we turn PHP into a more consistent, mature and professional language. And on the way to make the right choice, why not start by having a look at what other languages provide ? Julien Pauli

Re: [PHP-DEV] Allow dropping typehints during inheritance

2015-02-05 Thread Julien Pauli
On Thu, Feb 5, 2015 at 2:08 AM, Andrea Faulds wrote: > Hi Hannes, > > > On 4 Feb 2015, at 23:58, Hannes Magnusson > wrote: > > > > So what it supports "more inputs"? > > It does constitute an LSP violation. "more inputs" is not what the > > guarantee is at all, if that is what you want you'd typ

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

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

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

2015-02-06 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.6.6RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for February 19th, if no critical issues will be discovered in the RC. Thank you for your support. Ferenc Kovacs & Julien Pauli

[PHP-DEV] PHP 5.5.22 is available for downloads

2015-02-20 Thread Julien Pauli
://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/ The list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.22 Julien Pauli & David Soria Parra

Re: [PHP-DEV] [Discussion] Last chance for case-sensitive engine

2015-02-26 Thread Julien Pauli
On Wed, Feb 25, 2015 at 7:52 PM, Dmitry Stogov wrote: > Hi Alexander, > > On Tue, Feb 24, 2015 at 10:48 AM, Alexander Lisachenko < > lisachenko...@gmail.com> wrote: > > > Morning! > > > > I want to ask this question one more time before PHP7 feature freeze: can > > we the engine case sensitive f

Re: [PHP-DEV] Question/comment about the Array to String conversion RFC

2015-03-02 Thread Julien Pauli
On Mon, Mar 2, 2015 at 4:10 PM, Patrick ALLAERT wrote: > Le lun. 2 mars 2015 à 15:24, Zeev Suraski a écrit : > > > All, > > > > > > > > https://wiki.php.net/rfc/array-to-string (which I voted yes to) deviates > > from our guidelines of deprecating features first, and removing them > > later; It

Re: [PHP-DEV] Reclassify E_STRICT notices

2015-03-02 Thread Julien Pauli
On Wed, Feb 25, 2015 at 10:32 AM, Derick Rethans wrote: > On Sun, 22 Feb 2015, Nikita Popov wrote: > > > I would like to propose reclassifying our few existing E_STRICT > > notices and removing this error category: > > > > https://wiki.php.net/rfc/reclassify_e_strict > > > > As we don't reall

Re: [PHP-DEV] Re: About optimization for compiler

2015-03-02 Thread Julien Pauli
On Fri, Feb 27, 2015 at 4:30 PM, Dmitry Stogov wrote: > On Fri, Feb 27, 2015 at 6:22 PM, Bob Weinand wrote: > > > > > > Am 27.02.2015 um 16:12 schrieb Xinchen Hui : > > > > > > On Fri, Feb 27, 2015 at 11:08 PM, Bob Weinand > > wrote: > > >> Am 27.02.2015 um 07:53 schrieb Xinchen Hui : > > >> >

Re: [PHP-DEV] [Disccusion] Introduce error_clear_last() function

2015-03-03 Thread Julien Pauli
On Tue, Mar 3, 2015 at 11:13 AM, reeze wrote: > Hi internals, > > I would like to implement FR #45235. below copied from Github. > > What do you think about it? > > I had the same idea and I even got a patch somewhere. I'm +1 and should merge your idea soon, if nobody rejects the idea. PS : we c

Re: [PHP-DEV] Re: About optimization for compiler

2015-03-03 Thread Julien Pauli
On Mon, Mar 2, 2015 at 9:47 PM, Anthony Ferrara wrote: > Julien, > > > > Bob's code optimizes things by adding a new OPCode. > > This is different from compiler optimizations. > > > > Compiler optimizations are about changing native, supported OPCode > > structures to other native supported OPCod

Re: [PHP-DEV] Re: About optimization for compiler

2015-03-03 Thread Julien Pauli
On Tue, Mar 3, 2015 at 2:52 PM, Zeev Suraski wrote: > > -Original Message- > > From: julienpa...@gmail.com [mailto:julienpa...@gmail.com] On Behalf Of > > Julien Pauli > > Sent: Monday, March 02, 2015 9:07 PM > > To: Dmitry Stogov > > Cc: Bob

Re: [PHP-DEV] Re: Zend JIT Open Sourced

2015-03-03 Thread Julien Pauli
On Tue, Mar 3, 2015 at 2:05 PM, Zeev Suraski wrote: > > So I do apologize to the person. I don't to the code. > > I wanted to verify whether my gut was correct (minimal amount of output, > and > stdout is in fact buffered - output shouldn't move the needle) and asked > Dmitry to rerun the C test

[PHP-DEV] PHP 5.5.23RC1 is ready

2015-03-06 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.5.23RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for March 19th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & David Soria Parra

Re: [PHP-DEV] [VOTE] [RFC] continue output buffering

2015-03-11 Thread Julien Pauli
On Wed, Mar 11, 2015 at 12:09 PM, Patrick ALLAERT wrote: > Le lun. 9 mars 2015 à 13:45, Michael Wallner a écrit : > > > Hi, I’d like to start vote on RFC:continue_ob — any objections? > > > > https://wiki.php.net/rfc/continue_ob < > https://wiki.php.net/rfc/continue_ob > > > > > > > Regards, > >

[PHP-DEV] PHP 5.5.23 is available

2015-03-20 Thread Julien Pauli
page: http://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/. The list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.23 Julien Pauli & David Soria Parra

Re: [PHP-DEV] What's our official stance on small self-contained additions in a micro version

2015-03-30 Thread Julien Pauli
On Mon, Mar 30, 2015 at 3:10 PM, Ferenc Kovacs wrote: > > > On Mon, Mar 30, 2015 at 1:15 PM, Michael Wallner wrote: > >> On 30/03/15 12:04, Ferenc Kovacs wrote: >> > Hi, >> > >> > I know that our official release process allows that, but there are some >> > reasonable arguments against doing tha

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

2015-04-02 Thread Julien Pauli
this test may fail to you. The stable release is planned for April 16th, if no critical issues will be discovered in the RC. Thank you for helping the PHP project. Julien Pauli & David Soria Parra

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Julien Pauli
On Thu, Apr 9, 2015 at 1:01 PM, Dmitry Stogov wrote: > > > On Thu, Apr 9, 2015 at 1:35 PM, Julien Pauli wrote: > >> On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: >> >>> On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara >>> wrote: >>>

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Julien Pauli
On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: > On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara > wrote: > > > All, > > > > I spent a little bit of time today trying to debug an issue with 7 > > that Drupal 8 was facing, specifically regarding an array index not > > behaving correctly ($

[PHP-DEV] PHP 5.5.24 is available

2015-04-17 Thread Julien Pauli
visit our downloads page: http://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/. The list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.24 Julien Pauli & David Soria Parra

[PHP-DEV] Closure::call() to access private data, really ?

2015-04-17 Thread Julien Pauli
Just a simple use case showing how dangerous that is : $p = new Stdclass; }; $p->call($e = new Exception, 'trace'); throw $e; That nearly crashes PHP7. http://3v4l.org/fJj22 (The same trick using Reflection with PHP5 crashes the engine, this is a known bug that we chose not to fix). I am abso

Re: [PHP-DEV] Closure::call() to access private data, really ?

2015-04-22 Thread Julien Pauli
On Mon, Apr 20, 2015 at 12:21 AM, Stanislav Malyshev wrote: > Hi! > > > Just a simple use case showing how dangerous that is : > > > > > $p = function($p) { $this->$p = new Stdclass; }; > > $p->call($e = new Exception, 'trace'); > > throw $e; > > Yes, this is not good, and this is the consequenc

Re: [PHP-DEV] 7.0 Release Management

2015-04-29 Thread Julien Pauli
On Wed, Apr 29, 2015 at 3:57 PM, Anatol Belski wrote: > On Wed, April 29, 2015 15:35, Ferenc Kovacs wrote: > > On Wed, Apr 29, 2015 at 3:21 PM, Anatol Belski > > wrote: > > > > > >> Hi, > >> > >> > >> On Sun, April 5, 2015 09:05, Ferenc Kovacs wrote: > >> > >>> bumping the thread as we should st

Re: [PHP-DEV] [VOTE] Exceptions in the engine

2015-04-30 Thread Julien Pauli
On Thu, Apr 30, 2015 at 6:51 AM, Sebastian Bergmann wrote: > Am 30.04.2015 um 02:50 schrieb Stanislav Malyshev: > > I like the idea, however we do have the deadline and the > > deadline has been passed. So I wonder if we can't keep it for 7.1 > > That means introducing a change in 7.0, changing

[PHP-DEV] PHP 5.5.25RC1 is available

2015-05-01 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.5.25RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for May 14th, if no critical issues will be discovered in the RC. Thank you for helping the PHP project. Julien Pauli & D

Re: [PHP-DEV] [VOTE] Exceptions in the engine

2015-05-13 Thread Julien Pauli
On Wed, May 13, 2015 at 9:38 AM, Sebastian Bergmann wrote: > Am 13.05.2015 um 08:30 schrieb Pierre Joye: > > Why don't you do it? You have access and you are a very good writer. > > No big C knowledge required either in this case :) > > There was/is consensus on what I proposed back in February:

[PHP-DEV] Branching off PHP7 and electing RMs

2015-05-13 Thread Julien Pauli
Hello people. Time is going, and summer is coming. I think we must have branched 7.0 until end of May, and have our 2 RMs elected. Don't forget we are starting a long testing process, and some people start having some PRs to target 7.1, so we need to branch. The plans are to branch so that we p

[PHP-DEV] PHP 5.5.25 is available

2015-05-15 Thread Julien Pauli
can be found on http://windows.php.net/download/. The list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.25 Julien Pauli & David Soria Parra

Re: [PHP-DEV] Branching off PHP7 and electing RMs

2015-05-18 Thread Julien Pauli
On Mon, May 18, 2015 at 12:40 PM, Ferenc Kovacs wrote: > > > On Wed, May 13, 2015 at 4:50 PM, Ferenc Kovacs wrote: > >> >> >> On Wed, May 13, 2015 at 2:56 PM, Julien Pauli wrote: >> >>> Hello people. >>> >>> Time is going, and su

Re: [PHP-DEV] Soft-reserve "void" class name

2015-05-19 Thread Julien Pauli
On Tue, May 19, 2015 at 5:28 PM, Nikita Popov wrote: > Hi internals! > > For PHP 7 we soft-reserved a number of class names [1] like "numeric", so > that we have the ability to introduce them as typehints in a 7.x release. > "Soft" here means that we only document these names as being reserved an

Re: [PHP-DEV] pcrelib version differs between 5.5.25 / 5.6.9

2015-05-20 Thread Julien Pauli
On Wed, May 20, 2015 at 1:43 PM, Lior Kaplan wrote: > On Wed, May 20, 2015 at 2:31 PM, Anatol Belski > wrote: > > > Hi, > > > > -Original Message- > > From: Stanislav Malyshev [mailto:smalys...@gmail.com] > > Sent: Wednesday, May 20, 2015 10:45 AM > > To: Lior Kaplan; PHP internals list

[PHP-DEV] PHP 5.5.26RC1 is available

2015-05-29 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.5.26RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for June11th, if no critical issues will be discovered in the RC. Thank you for helping the PHP project. Julien Pauli & D

Re: [PHP-DEV] Method call overhead

2015-06-03 Thread Julien Pauli
. For functions, if the function is known at the time its called, and if the call is direct, then the process is fully optimized. [1] http://jpauli.github.io/2015/02/05/zend-vm-executor.html [2] http://jpauli.github.io/2015/01/22/on-php-function-calls.html Julien Pauli > > -Sara > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

[PHP-DEV] PHP 5.5.26 is available

2015-06-12 Thread Julien Pauli
5.5.26 please visit our downloads page: http://www.php.net/downloads.php Windows binaries can be found on http://windows.php.net/download/. The list of changes is recorded in the ChangeLog: http://www.php.net/ChangeLog-5.php#5.5.26 Julien Pauli & David Soria Parra

Re: [PHP-DEV] Packed array is not fast?

2015-06-16 Thread Julien Pauli
Just to throw back another discussion based on this topic, has anyone considered changing the hash algorithm about string keys (real hashes) ? I gave MurmurHash2 a try, it was twice faster than DJB33 in my benchs (64bits platform and 64bits MurmurHash2 variant). 128bits MurmurHash3 however was a l

Re: [PHP-DEV] Packed array is not fast?

2015-06-16 Thread Julien Pauli
First of all, I tried it against a PHP5 codebase, not PHP7. I simply patched it about return type (casted it to our ulong , taking care of 32/64 platforms), then I very simply #define zend(_inline)_hash_func to mumurhash2. Then I ran a callgrind on an extension of mine (closed source), that heavi

[PHP-DEV] Announcing PHP 5.5 security-only

2015-06-22 Thread Julien Pauli
ery month, or not. Thank you for your understanding, and happy PHP Hacking. Julien Pauli

Re: [PHP-DEV] Announcing PHP 5.5 security-only

2015-06-25 Thread Julien Pauli
tember 3 release final or the next one. I'll add a > note in the next releases of 5.4 about upcoming end of support, and we > probably should add a note in 5.5 release announcements too. > Makes sense, that will be done. Julien Pauli

[PHP-DEV] Re: [PHP-CVS] com php-src: PHP7 sounds like a good time to include signatures in announce mails: README.RELEASE_PROCESS

2015-06-25 Thread Julien Pauli
ncluded/attached in the announcement mails so we have another > distinct source of information which our users can use to crosscheck/verify > the downloads. > Sounds good to me, thanks for the ping. Julien Pauli

[PHP-DEV] PHP 5.5.27RC1 is available

2015-06-26 Thread Julien Pauli
for your support. Julien Pauli & David Soria Para

[PHP-DEV] PHP 5.5.27 is available

2015-07-10 Thread Julien Pauli
: c4b4c6a534c0ca67a9ae39bec4f51e52d13e820135dd016eae230e15337e1f70 php-5.5.27.tar.gz SHA256 hash: 57cc716ebb37a62654c154582e48a282055b08ce91995c79b0be41b9940237f0 php-5.5.27.tar.xz SHA256 hash: 7ee398058067a7d8184e402fcdccb25003852cb8dc94eefa3cda051a3e47fdd8 Julien Pauli & David Soria Parra

Re: [PHP-DEV] Consolidation of Traversable and array operations

2015-07-15 Thread Julien Pauli
bject for ages about how could we uniform array and Traversable internally, as well as from PHP user land (the main subject was then to add support for ArrayAccess to every array_***() PHP function). I'm happy this bumps the subject up , as it is quite a hot topic. Julien Pauli

[PHP-DEV] PHP 5.6.12RC1 is available

2015-07-24 Thread Julien Pauli
PGP SIGNATURE- Thank you for your support. Ferenc Kovacs & Julien Pauli

[PHP-DEV] Exposing object handles to userland

2015-07-31 Thread Julien Pauli
Hi people. I've been pinged many times to add a new spl_object_id() function to PHP, that would return the internal object handle of an object. Today, spl_object_hash() partially allows that, but adds many randomness to the result, which is not very cool to use later (why does it even add random

Re: [PHP-DEV] realpath() on MacOSX doesn't normalize the case of characters

2015-08-05 Thread Julien Pauli
On Tue, Aug 4, 2015 at 4:39 PM, Ferenc Kovacs wrote: > On Tue, Aug 4, 2015 at 2:22 PM, Nicolas Grekas < > nicolas.grekas+...@gmail.com > > wrote: > > > Hello, > > > > I reported this bug one year ago (https://bugs.php.net/67220) and it is > > now > > closed as "not a bug". I'd like this to be rec

Re: [PHP-DEV] [RFC] Block requests to builtin SQL functions where PHP can prove the call is vulnerable to a potential SQL-injection attack

2015-08-05 Thread Julien Pauli
On Tue, Jul 28, 2015 at 7:33 PM, Matt Tait wrote: > Hi all, > > I've written an RFC (and PoC) about automatic detection and blocking of SQL > injection vulnerabilities directly from inside PHP via automated taint > analysis. > > https://wiki.php.net/rfc/sql_injection_protection > > In short, we m

[PHP-DEV] Re: Generating release verification stub

2015-08-07 Thread Julien Pauli
ld you push it to scripts/ , so that we can start improving it , make it more mature and then we could add it to our release process :-) Thx. Julien Pauli

Re: [PHP-DEV] RFC: Expectations

2013-10-21 Thread Julien Pauli
On Mon, Oct 21, 2013 at 3:52 AM, Joe Watkins wrote: > On 10/20/2013 12:15 AM, Ferenc Kovacs wrote: > >> On Sun, Oct 20, 2013 at 12:36 AM, Robert Stoll wrote: >> >> Heya, >>> >>> I do not know how much it concerns this RFC but I came across the >>> following >>> page about an extension named "Ex

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 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 shoul

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 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 sh

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 wrote: >> On 7 ביול 2014, at 08:59, Andrea Faulds wrote: >> >> >>> On 7 Jul 2014, at 13:57, Zeev Suraski wrote: >>> >>> I don't think it's a problem, because I don't think we're two years >>> away from releasing a phpng-based version and I don't think

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

2014-07-09 Thread Julien Pauli
On Wed, Jul 9, 2014 at 1:06 AM, Kris Craig wrote: > On Tue, Jul 8, 2014 at 9:48 AM, Pierre Joye wrote: > >> On Tue, Jul 8, 2014 at 4:51 PM, Andrea Faulds wrote: >> > >> > On 8 Jul 2014, at 15:48, Derick Rethans wrote: >> > >> >> I've just voted "no" for this, because it introduces a tiny BC bre

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 wrote: > > On 08/07/2014 11:08, Julien Pauli wrote: >> >> On Tue, Jul 8, 2014 at 9:37 AM, Ivan Enderlin @ Hoa >> wrote: >>> >>> On 13/06/2014 16:20, Julien Pauli wrote: >>>> >>>

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 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 shoul

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

2014-07-11 Thread Julien Pauli
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 S

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 wrote: > hi Zeev, > > On Mon, Jul 21, 2014 at 9:31 AM, Zeev Suraski 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 clarity >> regardin

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 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 m

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 wrote: > > > > On Tue, Jul 22, 2014 at 1:48 PM, Nikita Popov wrote: >> >> On Tue, Jul 22, 2014 at 12:27 PM, Ferenc Kovacs wrote: >>> >>> sorry for the late reply. >>> you are right and after looking into the implementation I think classes >>> having

Re: [PHP-DEV] PHP Language Specification

2014-07-23 Thread Julien Pauli
On Tue, Jul 22, 2014 at 9:50 PM, Sara Golemon wrote: > Just announced something at OSCON that's probably going to get a lot > of folks talking and making assumptions, so before things get out of > hand, I want to provide some context. > > We (As in PHP) have been talking about making a spec for th

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 wrote: > > > > On Tue, Jul 22, 2014 at 6:20 PM, Julien Pauli wrote: >> >> On Tue, Jul 22, 2014 at 2:04 PM, Ferenc Kovacs wrote: >> > >> > >> > >> > On Tue, Jul 22, 2014 at 1:48 PM, Nikita

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 wrote: > > > > On Wed, Jul 23, 2014 at 10:57 AM, Julien Pauli wrote: >> >> On Wed, Jul 23, 2014 at 7:58 AM, Ferenc Kovacs wrote: >> > >> > >> > >> > On Tue, Jul 22, 2014 at 6:20 PM, Juli

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 wrote: > On Wed, Jul 23, 2014 at 11:09 AM, Ferenc Kovacs wrote: >> >> >> >> On Wed, Jul 23, 2014 at 10:57 AM, Julien Pauli wrote: >>> >>> On Wed, Jul 23, 2014 at 7:58 AM, Ferenc Kovacs wrote: >>&g

[PHP-DEV] PHP 5.5.15 is released

2014-07-24 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.15 Julien Pauli & David Soria Para

Re: [PHP-DEV] About PHP NG "document lacking" argument

2014-07-25 Thread Julien Pauli
On Fri, Jul 25, 2014 at 11:48 AM, Ferenc Kovacs wrote: > On Fri, Jul 25, 2014 at 11:41 AM, Zeev Suraski wrote: > > > Jocelyn, > > > > I think that a good migration guide is what we need here, and as Dmitry > > and Ferenc said, much progress has been made there. > > > > I think we'd all welcome a

[PHP-DEV] Thoughts on C version supported for PHP-Next

2014-07-25 Thread Julien Pauli
Hey ! Just a quick word to launch the debate. Disclamer : This is not a C vs C++ talk, thank you :-) We nowadays support C89 officially . It is very stable and well implemented in almost every compiler nowadays, but it is old and lack some features we could benefit from. Why not take PHP-Next st

Re: [PHP-DEV] Thoughts on C version supported for PHP-Next

2014-07-25 Thread Julien Pauli
On Fri, Jul 25, 2014 at 7:27 PM, Sara Golemon wrote: > > > On Jul 25, 2014, at 9:37, Julien Pauli wrote: > > > > Why not take PHP-Next step to support a more recent version ? > > Even C99 would be allright and C11 would be super cool (though pretty > > recent)

Re: [PHP-DEV] Weird constant expression syntax and bug

2014-07-25 Thread Julien Pauli
On Wed, Jul 23, 2014 at 8:12 PM, Dmitry Stogov wrote: > PHP-5.6 is frozen for new features for a long time. > Adding new features after RC is not a good idea. > And we will need some kind of RFC and voting. > I agree here. Bob, if you've been late proposing an RFC and couldn't get it up in time

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

2014-07-26 Thread Julien Pauli
On Sat, Jul 26, 2014 at 1:26 AM, Stas Malyshev wrote: > Hi! > > > yeah, that would work ofc, but as these libs seems to have instanitate > > arbitrary classes, that would require either generating files on the fly > > and including them or simply evaling them, but of those are a bit > > dirtier

Re: [PHP-DEV] "PHP" namespace?

2014-07-28 Thread Julien Pauli
> > One must absolutely not be required to use > namespaces for everything. > +1 I fully share this statement as well. Please, do not force any user to use namespaces. PHP's never been namespace based, it added their support to 5.3. IMO, PHP should never be namespace based for its own syntax.

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

2014-07-29 Thread Julien Pauli
On Tue, Jul 29, 2014 at 9:48 AM, Stas Malyshev wrote: > Hi! > > > What I found *not safe*, throwing unwanted warnings hitting an > > undesired behavior, or even segfaulting, and thus needing patch : > > - Dom > > - Mysqli > > - sqlite3 (sqlite3stmt class segfaults) > > I've fixed all the instanc

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP (again)

2014-07-30 Thread Julien Pauli
On Wed, Jul 30, 2014 at 1:43 AM, Andrea Faulds wrote: > > On 23 Jul 2014, at 14:38, Andrea Faulds wrote: > > > My sincerest apologies about all the mess earlier and the delay. Both me > and Zeev are happy enough with the RFC, so the voting for this RFC has > started (again). It shall end on 2014

Re: [PHP-DEV] [RFC] Introduce Abstract Syntax Tree

2014-08-01 Thread Julien Pauli
On Thu, Jul 31, 2014 at 9:03 PM, Andrea Faulds wrote: > > On 31 Jul 2014, at 19:11, Nikita Popov wrote: > > > I've created a draft RFC and implementation for the introduction of an > > Abstract Syntax Tree (AST) as an intermediate structure in our > compilation > > process: > > Oh man, you got t

Re: [PHP-DEV] [RFC] Disallow multiple default blocks in a single switch statement

2014-08-06 Thread Julien Pauli
On Wed, Aug 6, 2014 at 10:57 AM, Dmitry Stogov wrote: > yet another stupid implementation driven behavior :) > > +1 for master. > > Thanks. Dmitry. > Yep, definitely yes +1. Julien.Pauli

[PHP-DEV] PHP 5.5.16RC1 is available

2014-08-08 Thread Julien Pauli
: https://github.com/php/php-src/blob/php-5.5.16RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for August 21st, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & Savid Soria Parra

Re: [PHP-DEV] Reflection to remove final

2014-08-11 Thread Julien Pauli
On Mon, Aug 11, 2014 at 12:59 PM, Ferenc Kovacs wrote: > On Sat, Aug 9, 2014 at 12:35 PM, Tom Oram wrote: > >> I've just been looking back at the history of this previous conversation... >> >> http://marc.info/?l=php-internals&m=132673741606531&w=2 >> >> as a mockist tester I'd really REALLY like

Re: [PHP-DEV] Regarding PHP-FPM protocols

2014-08-11 Thread Julien Pauli
On Sat, Aug 9, 2014 at 6:43 AM, Aaron Lewis wrote: > Hi, > > I'm trying to understand how php-fpm works, aka how does nginx > "forward" the request to it. > > Now I want an example program that do it or the document that explains it. > Anyone know where to get those? Hey, This is all about the F

Re: [PHP-DEV] Reflection to remove final

2014-08-13 Thread Julien Pauli
On Tue, Aug 12, 2014 at 8:52 PM, Stas Malyshev wrote: > Hi! > >> I've just been looking back at the history of this previous conversation... >> >> http://marc.info/?l=php-internals&m=132673741606531&w=2 >> >> as a mockist tester I'd really REALLY like to see this be possible but I >> can see the p

Re: [PHP-DEV] Evaluation of constructor arguments if there's no constructor

2014-08-14 Thread Julien Pauli
On Thu, Aug 14, 2014 at 8:26 AM, Tjerk Meesters wrote: > Hi internals, > > I was sifting through the bucket o’ bugs and found these two related issues: > https://bugs.php.net/bug.php?id=67829 > https://bugs.php.net/bug.php?id=54162 (closed) > > They concern the behaviour of the engine when a class

Re: [PHP-DEV] Evaluation of constructor arguments if there's no constructor

2014-08-14 Thread Julien Pauli
On Thu, Aug 14, 2014 at 12:19 PM, Rowan Collins wrote: > Julien Pauli wrote (on 14/08/2014): > >> On Thu, Aug 14, 2014 at 8:26 AM, Tjerk Meesters >> wrote: >>> >>> Hi internals, >>> >>> I was sifting through the bucket o’ bugs and found

Re: [PHP-DEV] Evaluation of constructor arguments if there's no constructor

2014-08-14 Thread Julien Pauli
On Thu, Aug 14, 2014 at 2:42 PM, Rowan Collins wrote: > Julien Pauli wrote (on 14/08/2014): >> >> It may be possible to interpret the argument, but I think it will need >> >> new OPCodes, like ZEND_NEW_WITH_CTOR and ZEND_NEW_WITHOUT_CTOR , and a >> compiler patch

Re: [PHP-DEV] Native support - PUT request, multipart form data

2014-08-17 Thread Julien Pauli
On Sun, Aug 17, 2014 at 12:49 PM, David Zuelke wrote: > That does not make any sense; applications could accept XML, CSV or whatever > else just as well. > > The original proposal is not very useful. $_GET contains parsed query string > info, $_POST contains parsed HTTP request body information

Re: [PHP-DEV] [RFC] Binary String Comparison

2014-08-18 Thread Julien Pauli
ch also affects performance. > > On C-Level the function zendi_smart_strcmp will be unused and marked as > deprecated. > > Thanks, > Marc This seems to me as a major breakage, not necessary, as strict comparison (===) or strcmp() are available. Julien Pauli -- PHP Internals - PHP

Re: [PHP-DEV] 5.4 security only

2014-08-19 Thread Julien Pauli
On Tue, Aug 19, 2014 at 1:59 AM, Stas Malyshev wrote: > Hi! > > Moving this out of other topics into its own: according to the release > RFC, we should have 5.4 have 2 years of bugfixes & one year of security > fixes. Since 5.4 was released in March 2012, we're already past 2 year > mark. However,

Re: [PHP-DEV] ext/standard/tests/http/bug60570.phpt failure

2014-08-20 Thread Julien Pauli
On Wed, Aug 20, 2014 at 7:24 AM, Dmitry Stogov wrote: > Anyone objects about it or thinks it needs RFC? > > Thanks. Dmitry. > > > On Wed, Aug 20, 2014 at 6:48 AM, Laruence wrote: > >> Hey: >> >> >> On Tue, Aug 19, 2014 at 10:10 PM, Dmitry Stogov wrote: >> > Hi, >> > >> > Yesterday we discussed w

[PHP-DEV] PHP 5.5.16 is available

2014-08-22 Thread Julien Pauli
/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.16 Julien Pauli & David Soria Para

Re: [PHP-DEV] 5.4 security only

2014-08-22 Thread Julien Pauli
On Wed, Aug 20, 2014 at 10:45 PM, Stas Malyshev wrote: > Hi! > >> Apparently the fix for #67724 [2] caused #67865 [1], but I already have >> a fix for the fix (oh my) [3]. > > I've reverted it from 5.4.32, but please commit this fix in 5.4. As phar > is currently broken, fix for this qualifies as

[PHP-DEV] Re: 5.6.0 final is near

2014-08-25 Thread Julien Pauli
On Mon, Aug 25, 2014 at 1:22 PM, Ferenc Kovacs wrote: > > > > On Sat, Aug 23, 2014 at 1:58 AM, Ferenc Kovacs wrote: >> >> >> >> >> On Sun, Aug 17, 2014 at 11:25 AM, Ferenc Kovacs wrote: >>> >>> Hi, >>> >>> I'm planning to release 5.6.0 from RC4 if nothing serious comes up, so >>> this is just a

[PHP-DEV] Cleaning 5.3 git branches ?

2014-08-28 Thread Julien Pauli
Hello, We all know 5.3 is now EOL. Looking at git branches, 5.0, 5.1 and 5.2 still have their respective main branches (which is all right and good). However, they dont have their release branch references (5.1.1 , 5.1.2 etc...) , however they still show their own release tags, which is also all

Re: [PHP-DEV] Cleaning 5.3 git branches ?

2014-08-29 Thread Julien Pauli
On Fri, Aug 29, 2014 at 8:54 AM, Andrey Andreev wrote: > On Fri, Aug 29, 2014 at 3:03 AM, Johannes Schlüter > wrote: >> On Fri, 2014-08-29 at 00:12 +0100, Andrea Faulds wrote: >>> I don’t see the need, though. For cases where we added stuff after release, >>> just make an extra tag. >> >> $ git

Re: [PHP-DEV] Making parse_ini_*() aware of types

2014-09-01 Thread Julien Pauli
On Sat, Aug 30, 2014 at 4:36 PM, Tjerk Meesters wrote: > Hi internals, > > I was going through the bug list and found this report: > > https://bugs.php.net/bug.php?id=38409 > > It discusses the fact that `parse_ini_file()` and `parse_ini_string()` throw > away type information; for instance, the

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

2014-09-04 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.5.17RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for September 18th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & David S

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

2014-09-12 Thread Julien Pauli
the NEWS file: https://github.com/php/php-src/blob/php-5.6.1RC1/NEWS Please test it carefully, and report any bugs in the bug system. The stable release is planned for September 25th, if no critical issues will be discovered in the RC. Thank you for your support. Julien Pauli & Fe

[PHP-DEV] PHP 5.5.17 is available

2014-09-19 Thread Julien Pauli
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.17 Julien Pauli & David Soria Para

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

2014-09-22 Thread Julien Pauli
On Fri, Sep 19, 2014 at 6:49 PM, Remi Collet wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Le 19/09/2014 18:25, Daniel Lowrey a écrit : In an effort to fix a very old (seven years old) DoS vulnerability involving encrypted streams I created a regression where feof() n

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

2014-09-23 Thread Julien Pauli
On Tue, Sep 23, 2014 at 3:24 PM, Ferenc Kovacs wrote: > > > On Tue, Sep 23, 2014 at 7:39 AM, Daniel Lowrey wrote: >> >> >> Hi, >> >> >> >> That's a bad thing we need to fix ASAP. >> >> >> >> I think for 5.6.1 we'll revert it , if not, we'll need an RC2, which >> >> is something we usually don't d

Re: [PHP-DEV] Re: What happened to the 5.6.1 release?

2014-09-29 Thread Julien Pauli
On Sun, Sep 28, 2014 at 3:45 PM, Jan Ehrhardt wrote: > Pierre Schmitz in php.internals (Sun, 28 Sep 2014 08:44:33 +0200): >>I wonder what happened to the 5.6.1 release. A git tag was pushed 4 days >>ago but since then no announcement was made nor any tar files of then >>release were uploaded. > >

Re: [PHP-DEV] Re: What happened to the 5.6.1 release?

2014-09-29 Thread Julien Pauli
On Mon, Sep 29, 2014 at 1:05 PM, Jan Ehrhardt wrote: > Julien Pauli in php.internals (Mon, 29 Sep 2014 12:50:55 +0200): >>On Sun, Sep 28, 2014 at 3:45 PM, Jan Ehrhardt wrote: >> >>> The sources are available at http://windows.php.net/download/ >>> Strange tha

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

2014-09-30 Thread Julien Pauli
On Tue, Sep 30, 2014 at 8:58 AM, Leigh wrote: > On 30 September 2014 04:06, guilhermebla...@gmail.com > wrote: >> Hi, >> >> Here is a new RFC: https://wiki.php.net/rfc/sync >> >> Thoughts appreciated. >> > > What are the actual benefits of this being included in core? The RFC > doesn't really lis

Re: [PHP-DEV] Re: What happened to the 5.6.1 release?

2014-09-30 Thread Julien Pauli
On Mon, Sep 29, 2014 at 9:31 PM, Stas Malyshev wrote: > Hi! > >> I wonder if one could replace that release server with a simple vagrant >> setup or similar so the RM can actually create release archives on his >> own. > > I've always packaged 5.4 on my local machine, but it may have a downside >

  1   2   3   4   >