# Patch for opcode caches

- Thread: https://externals.io/message/36134
- Original archive: https://news-web.php.net/php.internals/36134
- Started by Dmitry Stogov on 2008-03-14T08:46:41+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #36134 — Dmitry Stogov — 2008-03-14T08:46:41+00:00

URL: https://externals.io/message/36134#36134

Hi Marcus,

> -----Original Message-----
> From: Marcus Boerger [mailto:helly@php.net] 
> Sent: Thursday, March 13, 2008 9:27 PM
> To: Dmitry Stogov
> Cc: Andi Gutmans; Stas Malyshev; phpxcache; internals@lists.php.net
> Subject: Re: [PHP-DEV] Patch for opcode caches
> 
> 
> Hello Dmitry,
> 
> Monday, March 10, 2008, 1:48:05 PM, you wrote:
> 
> > […]
> 
> > […]
> untested (see
> > […]
> 
> > […]
> 
> Good, I am just worried that we introduce different behavior. 
> We should just have one execution mode. Your change is better 
> now having a more detailed view on what it does. But I think 
> we should not have the old model as well.

Removing early-binding at all might be a subject for PHP6, however in
PHP_5_3 we even keep ze1_compatibility_mode.
I'm not able to remove it.

[skiped]

> > […]
> 
> I did not see -e in the list of allowed flags. So it cannot work.

Then I don't understand you last comments about the patch.

Thanks. Dmitry.

---

## #36135 — Hannes Magnusson — 2008-03-14T10:06:42+00:00

URL: https://externals.io/message/36134#36135 · In reply to: #36134

>
>  Removing early-binding at all might be a subject for PHP6, however in
>  PHP_5_3 we even keep ze1_compatibility_mode.

http://news.php.net/php.internals/36085

-Hannes

---

## #36136 — Pierre Joye — 2008-03-14T10:11:06+00:00

URL: https://externals.io/message/36134#36136 · In reply to: #36135

On Fri, Mar 14, 2008 at 11:06 AM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> 
> > […]
>
>  http://news.php.net/php.internals/36085

I don't see any sane reason not to remove it :)

-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org

---

## #36137 — Marcus Boerger — 2008-03-14T15:22:44+00:00

URL: https://externals.io/message/36134#36137 · In reply to: #36136

Hello Pierre,

  it is unused code that does not work as intended and causes trouble. And
at leats it makes maintanance harder. So that is a very big reason to drop
it.

marcus

Friday, March 14, 2008, 11:11:06 AM, you wrote:

> On Fri, Mar 14, 2008 at 11:06 AM, Hannes Magnusson
> <hannes.magnusson@gmail.com> wrote:
> > […]

> I don't see any sane reason not to remove it :)

> -- 
> Pierre
> http://blog.thepimp.net | http://www.libgd.org




Best regards,
 Marcus

---

## #36138 — Derick Rethans — 2008-03-14T15:23:25+00:00

URL: https://externals.io/message/36134#36138 · In reply to: #36134

> however in
> PHP_5_3 we even keep ze1_compatibility_mode.
> I'm not able to remove it.

WHy not? It's quite broken anyway.

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

---

## #36139 — Marcus Boerger — 2008-03-14T15:24:56+00:00

URL: https://externals.io/message/36134#36139 · In reply to: #36134

Hello Dmitry,

Friday, March 14, 2008, 9:46:41 AM, you wrote:

> Hi Marcus,

> > […]

> Removing early-binding at all might be a subject for PHP6, however in
> PHP_5_3 we even keep ze1_compatibility_mode.
> I'm not able to remove it.

I do not want to remove early binding. In fact I always wanted to have
early binding as much as possible. Because that is faster and makes
compiler caches easier. So why slow down stuff? A Compiler cache wants
everythign as static as possible which means a compiler cache wants early
binding. This is also faster. So what are you proposing here?

Best regards,
 Marcus

---

## #36140 — Pierre Joye — 2008-03-14T15:42:32+00:00

URL: https://externals.io/message/36134#36140 · In reply to: #36137

> Hello Pierre,
>
>   it is unused code that does not work as intended and causes trouble. And
>  at leats it makes maintanance harder. So that is a very big reason to drop
>  it.

Yes, I fully agree (you may have missed the "not" in my reply :-)

Cheers,
-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org

---

## #36145 — Marcus Boerger — 2008-03-14T17:24:15+00:00

URL: https://externals.io/message/36134#36145 · In reply to: #36140

Hello Pierre,

  yep, stupid me. I got confused by your wording :-)

marcus

Friday, March 14, 2008, 4:42:32 PM, you wrote:

> 
> > […]

> Yes, I fully agree (you may have missed the "not" in my reply :-)

> Cheers,
> -- 
> Pierre
> http://blog.thepimp.net | http://www.libgd.org




Best regards,
 Marcus

---

## #36167 — Ilia Alshanetsky — 2008-03-17T12:20:53+00:00

URL: https://externals.io/message/36134#36167 · In reply to: #36138

Keeping it seems fairly meaningless (it was a temporary hack anyway).  
Since 5.1 (or possibly even late 5.0) releases much of the new  
functionality ignores it anyway.




> 
>
> > […]
>
> WHy not? It's quite broken anyway.
>
> Derick
>
> -- 
> Derick Rethans
> http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
>
> -- 
> 
> 
>

Ilia Alshanetsky
