Hello internals,
again an update on the RFC, see https://wiki.php.net/rfc/instance_counter:
- added support for object as argument
- added support for array argument (indexed array with class names)
- added more code examples
--
PHP Internals - PHP Runtime Development Mailing List
To
2013/4/10 Frank Liepert frank.liep...@gmx.de
Hello internals,
again an update on the RFC, see https://wiki.php.net/rfc/instance_counter:
- added support for object as argument
- added support for array argument (indexed array with class names)
- added more code examples
--
PHP
Hi,
Recently, I've found that OPcache optimizer misses a lot of abilities,
because it handles only one op_array at once. So it definitely can't
perform any inter-function optimizations (e.g. inlining).
Actually, it was not very difficult to switch to script at once approach.
The attached patch
2013/4/10 Dmitry Stogov dmi...@zend.com
Hi,
Recently, I've found that OPcache optimizer misses a lot of abilities,
because it handles only one op_array at once. So it definitely can't
perform any inter-function optimizations (e.g. inlining).
Actually, it was not very difficult to switch to
On Wed, Apr 10, 2013 at 4:07 PM, Arvids Godjuks arvids.godj...@gmail.com
wrote:
2013/4/10 Dmitry Stogov dmi...@zend.com
Hi,
Recently, I've found that OPcache optimizer misses a lot of abilities,
because it handles only one op_array at once. So it definitely can't
perform any inter-function
-Original Message-
From: Arvids Godjuks [mailto:arvids.godj...@gmail.com]
Sent: Wednesday, April 10, 2013 4:08 PM
To: PHP Internals
Subject: Re: [PHP-DEV] OPcache optimizer improvement in PHP-5.5?
2013/4/10 Dmitry Stogov dmi...@zend.com
Hi,
Recently, I've found that OPcache
If applying optimizations in multiple passes would be a problem for speed,
especially on the first request, then maybe a way to solve this would be
to have
a configurable variable like: opcache.passes which is between 1 and 10
(lets say)
and then have the engine do something like
this:
My
hi Dmitry,
On Wed, Apr 10, 2013 at 1:57 PM, Dmitry Stogov dmi...@zend.com wrote:
Hi,
Recently, I've found that OPcache optimizer misses a lot of abilities,
because it handles only one op_array at once. So it definitely can't perform
any inter-function optimizations (e.g. inlining).
2013/4/10 Florin Patan florinpa...@gmail.com
On Wed, Apr 10, 2013 at 4:07 PM, Arvids Godjuks arvids.godj...@gmail.com
wrote:
2013/4/10 Dmitry Stogov dmi...@zend.com
Hi,
Recently, I've found that OPcache optimizer misses a lot of abilities,
because it handles only one op_array at
On Wed, 2013-04-10 at 15:57 +0400, Dmitry Stogov wrote:
The attached patch demonstrates it and adds per script constants
substitution explained in the following script
Will this case work properly:
a.php:
?php
$flag = true;
include('c.php');
?
b.php:
?php
$flag = false;
include('c.php');
?
2013/4/10 Zeev Suraski z...@zend.com
-Original Message-
From: Arvids Godjuks [mailto:arvids.godj...@gmail.com]
Sent: Wednesday, April 10, 2013 4:08 PM
To: PHP Internals
Subject: Re: [PHP-DEV] OPcache optimizer improvement in PHP-5.5?
2013/4/10 Dmitry Stogov dmi...@zend.com
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
Yes. And it's the reason I'm asking for agreement.
I may commit it into master and pecl, but it means that pecl branch is
going to be ahead of PHP-5.5.
Thanks. Dmitry.
On Wed, Apr 10, 2013 at 5:24 PM, Pierre Joye pierre@gmail.com wrote:
hi Dmitry,
On Wed, Apr 10, 2013 at 1:57 PM,
For now, the optimizations we do are quite chip.
They may increase the compilation time on first request by 2, but on
following requests we will get it back.
Once we come to really expensive optimizations we will do it offline (in
context of a separate process).
Thanks. Dmitry.
On Wed, Apr 10,
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 :) Feel free to edit the wiki page and add
fixes.
I can't seem to find the page.. do you
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 :)
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:
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 ?
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 moving it to a branch, or
somewhere for the interested developers to keep on
hi,
On Wed, Apr 10, 2013 at 6:50 PM, Julien Pauli jpa...@php.net wrote:
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 ?
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 while request context is not
initialized yet). I think it must work
21 matches
Mail list logo