Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Christoph Becker
On 11.08.2015 at 22:46, Anatol Belski wrote: -Original Message- From: Christoph Becker [mailto:cmbecke...@gmx.de] Sent: Tuesday, August 11, 2015 6:46 PM To: PHP internals internals@lists.php.net Subject: [PHP-DEV] libpcre version requirements What is the minimum libpcre version

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-11 Thread Yasuo Ohgaki
Hi all, On Mon, Aug 10, 2015 at 6:57 PM, Craig Francis cr...@craigfrancis.co.uk wrote: I have been reading your conversation with great interest. But I would urge you to see Matts suggestion as a simple addition to the language (it's simpler than my suggestion), where his RFC seems to have

[PHP-DEV] Re: com php-src: Export argument type checking functions:Zend/zend_execute.c Zend/zend_execute.h

2015-08-11 Thread Christoph Becker
Hi Dmitry, On 11.08.2015 at 18:11, Dmitry Stogov wrote: Commit:a658465ef2ff7e47fc93b4988e4caa6f42d4ae49 Author:Dmitry Stogov dmi...@zend.com Tue, 11 Aug 2015 19:11:21 +0300 Parents: 5b017ba8be49fc0a07d4e5e1e43f1d0e635f336f Branches: master Link:

[PHP-DEV] Benchmark Results for PHP Master 2015-08-11

2015-08-11 Thread lp_benchmark_robot
Results for project php-src-nightly, build date 2015-08-11 05:00:00+03:00 commit: 9f37f5f344076a696be607c829a7e17873a6dfe5 revision_date:2015-08-11 01:43:40+02:00 environment: Haswell-EP cpu: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] LDAP module requirements?

2015-08-11 Thread Côme BERNIGAUD
On 2015-08-11 00:36, Rainer Jung wrote: The current problems should be mostly around the above four compiler warnings. I can test any patches you want me to test. Can you test including the attached file in ext/ldap/ldap.c, and not defining HAVE_3ARG_SETREBINDPROC and

[PHP-DEV] libpcre version requirements

2015-08-11 Thread Christoph Becker
Hi all! What is the minimum libpcre version that is supported as external libpcre for ext/pcre? According to config0.m4 it is PCRE 6.6 (2006-02-06), but is this still valid and do we really have to support such old versions? I'm asking because of bug #70232 which can easily be fixed, but that

Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Adam Harvey
On 11 August 2015 at 09:46, Christoph Becker cmbecke...@gmx.de wrote: What is the minimum libpcre version that is supported as external libpcre for ext/pcre? According to config0.m4 it is PCRE 6.6 (2006-02-06), but is this still valid and do we really have to support such old versions?

[PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Matt Wilmas
Hi Dmitry, all, Help me understand this. :-) It's been more puzzling to me recently since just coming to the part of optimizing traditional ZPP (sharing part with FAST_ZPP...). With the FAST_ZPP inline macros, why is there a Z_PARAM_ZVAL and Z_PARAM_ZVAL_DEREF? It seems the zpp 'z'

Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Christoph Becker
On 11.08.2015 at 19:01, Adam Harvey wrote: On 11 August 2015 at 09:46, Christoph Becker cmbecke...@gmx.de wrote: What is the minimum libpcre version that is supported as external libpcre for ext/pcre? According to config0.m4 it is PCRE 6.6 (2006-02-06), but is this still valid and do we

Re: [PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Matt Wilmas
Hi again, - Original Message - From: Matt Wilmas Sent: Tuesday, August 11, 2015 Hi Dmitry, all, Help me understand this. :-) It's been more puzzling to me recently since just coming to the part of optimizing traditional ZPP (sharing part with FAST_ZPP...). With the FAST_ZPP

[PHP-DEV] Re: include/require function declaration.

2015-08-11 Thread Christoph Becker
On 11.08.2015 at 19:38, Florian BERBAR wrote: I try to understand the internals implementation of include and require functions. I've reading the sources code in search of the answer but i didn't found those declarations. Does anyone can give me the file where those statements are ? I

[PHP-DEV] include/require function declaration.

2015-08-11 Thread Florian BERBAR
Hi list, I try to understand the internals implementation of include and require functions. I've reading the sources code in search of the answer but i didn't found those declarations. Does anyone can give me the file where those statements are ? Thank you Florian. -- PHP Internals - PHP

Re: [PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Dmitry Stogov
Hi Matt, On Tue, Aug 11, 2015 at 9:00 PM, Matt Wilmas php_li...@realplain.com wrote: Hi again, - Original Message - From: Matt Wilmas Sent: Tuesday, August 11, 2015 Hi Dmitry, all, Help me understand this. :-) It's been more puzzling to me recently since just coming to the

Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Yasuo Ohgaki
Hi all, On Wed, Aug 12, 2015 at 2:55 AM, Christoph Becker cmbecke...@gmx.de wrote: I'm asking because of bug #70232 which can easily be fixed, but that requires PCRE 8.00 (2009-10-19). If we have to support older PCRE versions, we'd probably need a fallback to the current behavior (which

Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Yasuo Ohgaki
On Wed, Aug 12, 2015 at 4:59 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Distributions prefer to use system's libraries. I suppose question is if PHP supports older systems such as RHEL/CentOS 5 or not. They are used widely. I prefer to support them if it is possible/feasible. Features that

Re: [PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Matt Wilmas
Hi Dmitry, - Original Message - From: Dmitry Stogov Sent: Tuesday, August 11, 2015 Hi Matt, On Tue, Aug 11, 2015 at 9:00 PM, Matt Wilmas php_li...@realplain.com wrote: Hi again, - Original Message - From: Matt Wilmas Sent: Tuesday, August 11, 2015 Hi Dmitry, all, Help

Re: [PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Nikita Popov
On Tue, Aug 11, 2015 at 10:10 PM, Matt Wilmas php_li...@realplain.com wrote: Hi Dmitry, - Original Message - From: Dmitry Stogov Sent: Tuesday, August 11, 2015 Hi Matt, On Tue, Aug 11, 2015 at 9:00 PM, Matt Wilmas php_li...@realplain.com wrote: Hi again, - Original

Re: [PHP-DEV] Parameter parsing for zval type?

2015-08-11 Thread Dmitry Stogov
On Tue, Aug 11, 2015 at 11:10 PM, Matt Wilmas php_li...@realplain.com wrote: Hi Dmitry, - Original Message - From: Dmitry Stogov Sent: Tuesday, August 11, 2015 Hi Matt, On Tue, Aug 11, 2015 at 9:00 PM, Matt Wilmas php_li...@realplain.com wrote: Hi again, - Original

[PHP-DEV] Re: include/require function declaration.

2015-08-11 Thread Florian BERBAR
On 11/08/2015 19:59, Christoph Becker wrote: On 11.08.2015 at 19:38, Florian BERBAR wrote: I try to understand the internals implementation of include and require functions. I've reading the sources code in search of the answer but i didn't found those declarations. Does anyone can give me

[PHP-DEV] VCS Account Request: marcosptf

2015-08-11 Thread marcos paulo de souza santana
i want to have php account to help on resolve bugs from bugs.php.net and becouse i have contributed on php-src: https://github.com/php/php-src/search?utf8=%E2%9C%93amp;q=marcosptf and i wanna contribute more and more :-) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

RE: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Anatol Belski
Hi Christoph, -Original Message- From: Christoph Becker [mailto:cmbecke...@gmx.de] Sent: Tuesday, August 11, 2015 6:46 PM To: PHP internals internals@lists.php.net Subject: [PHP-DEV] libpcre version requirements Hi all! What is the minimum libpcre version that is supported as

Re: [PHP-DEV] libpcre version requirements

2015-08-11 Thread Christoph Becker
On 11.08.2015 at 22:08, Yasuo Ohgaki wrote: On Wed, Aug 12, 2015 at 4:59 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Distributions prefer to use system's libraries. I suppose question is if PHP supports older systems such as RHEL/CentOS 5 or not. They are used widely. I prefer to support

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-11 Thread Christoph Becker
On 10.08.2015 at 11:57, Craig Francis wrote: You only have to skim read things like the second comment (with 27 up votes) on the PDO prepare page to see that these problems are happening all the time: http://php.net/manual/en/pdo.prepare.php#111458 SELECT * FROM users WHERE