[PHP-DEV] newbie question

2015-09-15 Thread Andrei Bernardo Simoni
HelloIm new in the PHP project and i would like to know where I can start.To quench my curiosity I wonder which part of the code read the files with extension .php Thanks so much everyone

Re: [PHP-DEV] ABI break? (was: [PHP-CVS] com php-src: Don't inline "slow" and rarely used functions.: Zend/zend_alloc.c Zend/zend_alloc.h)

2015-09-15 Thread Pierre Joye
On Sep 16, 2015 8:08 AM, "Adam Harvey" wrote: > > On 9 September 2015 at 03:42, Dmitry Stogov wrote: > > Commit:ac83eaef1097552065395872c69b77dcab2919b1 > > Author:Dmitry Stogov Wed, 9 Sep 2015 13:42:35 +0300 > > Parents:

Re: [PHP-DEV] taint

2015-09-15 Thread Ángel González
On 15/09/15 18:23, Anthony Ferrara wrote: Third, it ignores context. This is related to the first two, but I think is a separate concern. An example from the taint RFC (https://wiki.php.net/rfc/taint) is the shell-execution. If the variable is used in the context of command, one escape function

Re: [PHP-DEV] newbie question

2015-09-15 Thread Yasuo Ohgaki
Hi Andrei, On Wed, Sep 16, 2015 at 9:35 AM, Andrei Bernardo Simoni wrote: > HelloIm new in the PHP project and i would like to know where I can start.To > quench my curiosity I wonder which part of the code read the files with > extension .php If you are looking for

[PHP-DEV] ABI break? (was: [PHP-CVS] com php-src: Don't inline "slow" and rarely used functions.: Zend/zend_alloc.c Zend/zend_alloc.h)

2015-09-15 Thread Adam Harvey
On 9 September 2015 at 03:42, Dmitry Stogov wrote: > Commit:ac83eaef1097552065395872c69b77dcab2919b1 > Author:Dmitry Stogov Wed, 9 Sep 2015 13:42:35 > +0300 > Parents: 6d885e395ca33fef28c5b84b7cfd59885aaa6e2d > Branches: master > > Link:

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP should be configured and built with --enable-huge-code-pages, OS s

2015-09-15 Thread Dmitry Stogov
On Tue, Sep 15, 2015 at 4:31 AM, Rasmus Lerdorf wrote: > On 09/14/2015 02:13 PM, Anatol Belski wrote: > > > > > >> -Original Message- > >> From: Dmitry Stogov [mailto:dmi...@zend.com] > >> Sent: Monday, September 14, 2015 10:37 PM > >> To: Anatol Belski

Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28?

2015-09-15 Thread Lester Caine
On 15/09/15 04:16, François Laupretre wrote: > IMO, the best solution is the exists() construct. Given that there are often several ways to do the same thing is one extra helper really that much of a problem. Especially since it's action would be something that isset()/empty() combination should

Re: [PHP-DEV] Bumping minimal OpenSSL version to 0.9.8

2015-09-15 Thread Jakub Zelenka
Hi Anatol, On Mon, Sep 14, 2015 at 9:17 PM, Anatol Belski wrote: > Hi Jakub, > > At the moment the minimal OpenSSL version is 0.9.6. > > > > I realised yesterday that there are some types changes between 0.9.7 and > > 0.9.8 that would have to be address in overflow checks

[PHP-DEV] Re: PHP 7.1 - Address PHPSadness #28?

2015-09-15 Thread Benoit Schildknecht
Bumping in (senior dev here). I think this function must be implemented. Every dev I've seen in my company use isset() as its name says it does : "Is this variable set, whatever its value is ?". That's exactly how we use it in the code. And we use "null" a lot too. For us, "null" is a value

Re: [PHP-DEV] Generic classes and methods RFC

2015-09-15 Thread Stig Bakken
On Sep 12, 2015 16:57, "Andrea Faulds" wrote: > > > I'm with Levi here, I think type parameters should matter for static methods. An example might be a list class: > Just because you want it, doesn't make it possible ;-) The class type variables are specified when instantiating the

Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28?

2015-09-15 Thread Robert Williams
On Sep 14, 2015, at 16:06, Stanislav Malyshev wrote: > >>> No. There's no reason for null to exist if isset returns true on >>> null. If one doesn't understand that, one should not be using >>> null at all. >> >> Nonsense. > > Oh, thank you! That's a good start for a

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP should be configured and built with --enable-huge-code-pages, OS s

2015-09-15 Thread Rasmus Lerdorf
On 09/14/2015 11:58 PM, Dmitry Stogov wrote: > On Tue, Sep 15, 2015 at 4:31 AM, Rasmus Lerdorf > wrote: > Redhat enables THP by default and has for a while, but I know lots of > admins that disable this feature right away on production

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP should be configured and built with --enable-huge-code-pages, OS s

2015-09-15 Thread Dmitry Stogov
On Tue, Sep 15, 2015 at 11:24 AM, Rasmus Lerdorf wrote: > On 09/14/2015 11:58 PM, Dmitry Stogov wrote: > > On Tue, Sep 15, 2015 at 4:31 AM, Rasmus Lerdorf > > wrote: > > Redhat enables THP by default and has for a while,

Re: [PHP-DEV] Bumping minimal OpenSSL version to 0.9.8

2015-09-15 Thread Rowan Collins
Remi Collet wrote on 15/09/2015 14:14: RHEL-7 have 1.0.1e RHEL-6 have 1.0.1e RHEL-5 have 0.9.8e (and already doesn't support PHP 7) FYI, Debian is similar: Squeeze: 0.9.8o Wheezy: 1.0.1e Jessie: 1.0.1k Stretch: 1.0.2d -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] taint

2015-09-15 Thread Arvids Godjuks
I fully support your effort to get this into the PHP to be part of core extensions, or at least one of those that keep up with the language releases. This is a very good tool to have, and you can actually run it in production to catch things that may slipped the stating (things happen). And it's

Re: [PHP-DEV] taint

2015-09-15 Thread Dennis Birkholz
Hi all, Am 15.09.2015 um 17:09 schrieb Craig Francis: > 2015-09-14 4:44 GMT+02:00 Christopher Owen : >> Please consider making ‘taint’ a first-class feature/extension in PHP 7.0. > > I would echo Kalle's suggestion of 7.1. > > But I think you will find it hard to get

Re: [PHP-DEV] taint

2015-09-15 Thread Anthony Ferrara
All, On Tue, Sep 15, 2015 at 11:15 AM, Arvids Godjuks wrote: > I fully support your effort to get this into the PHP to be part of core > extensions, or at least one of those that keep up with the language > releases. > This is a very good tool to have, and you can

Re: [PHP-DEV] taint

2015-09-15 Thread Craig Francis
2015-09-14 4:44 GMT+02:00 Christopher Owen : > Please consider making ‘taint’ a first-class feature/extension in PHP 7.0. I would echo Kalle's suggestion of 7.1. But I think you will find it hard to get support... I was pushing this a few weeks ago (either the one

[PHP-DEV] Benchmark Results for PHP Master 2015-09-15

2015-09-15 Thread lp_benchmark_robot
Results for project php-src-nightly, build date 2015-09-15 05:00:00+03:00 commit: 83bba5dfdd4bc608ed7a6a1001a11a6660372edd revision_date: 2015-09-15 10:06:29+10: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] Bumping minimal OpenSSL version to 0.9.8

2015-09-15 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 14/09/2015 14:03, Jakub Zelenka a écrit : > Hi, > > At the moment the minimal OpenSSL version is 0.9.6. > > I realised yesterday that there are some types changes between > 0.9.7 and 0.9.8 that would have to be address in overflow checks >

Re: [PHP-DEV] Bumping minimal OpenSSL version to 0.9.8

2015-09-15 Thread Thomas Hruska
On 9/14/2015 5:03 AM, Jakub Zelenka wrote: Hi, At the moment the minimal OpenSSL version is 0.9.6. I realised yesterday that there are some types changes between 0.9.7 and 0.9.8 that would have to be address in overflow checks (EVP_DigestUpdate and related). I also noticed that 0.9.6 might not