# include_once

- Thread: https://externals.io/message/27459
- Original archive: https://news-web.php.net/php.internals/27459
- Started by Reinis Rozitis on 2007-01-15T18:17:42+00:00
- Messages: 4
- 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

---

## #27459 — Reinis Rozitis — 2007-01-15T18:17:42+00:00

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

Hello,
just a quick question - will the include_once() (Optimized require_once() 
and include_once() by eliminating fopen(3) on second usage. (Dmitry)) 
optimisation fix in 5.2.0 backported also in PHP 4 tree (in 4.4.5 maybe?)

Theoretically speaking (havent checked the default funcs internal changes 
between 4.x and 5.2) could it be possible to patch 4.x without breaking the 
rest of the core?

rr

---

## #27460 — Derick Rethans — 2007-01-15T18:56:13+00:00

URL: https://externals.io/message/27459#27460 · In reply to: #27459

> Hello,
> just a quick question - will the include_once() (Optimized require_once() and
> include_once() by eliminating fopen(3) on second usage. (Dmitry)) optimisation
> fix in 5.2.0 backported also in PHP 4 tree (in 4.4.5 maybe?)

No, no features will be back ported to PHP 4.4.

regards,
Derick

---

## #27461 — Reinis Rozitis — 2007-01-15T19:22:58+00:00

URL: https://externals.io/message/27459#27461 · In reply to: #27460

> No, no features will be back ported to PHP 4.4.

Although I dont see this as feature more like a fix (uneeded opens() stats() 
on each call) still thank you for the fast reply.


p.s. lately the topics and discussions on internal list are pretty scarry.. 
starting with political issues and ending with memory manager flaws (besides 
also some phparchitect articles which propose/show 5.2 being faster in all 
generic tests still slower in realworld aplications).. which probably makes 
a lot (at least me) users uneasy about switching to the 5.2.x tree :)

rr

---

## #27467 — Brian Moon — 2007-01-15T21:15:55+00:00

URL: https://externals.io/message/27459#27467 · In reply to: #27461

Reinis Rozitis wrote:
> p.s. lately the topics and discussions on internal list are pretty 
> scarry.. starting with political issues and ending with memory manager 
> flaws (besides also some phparchitect articles which propose/show 5.2 
> being faster in all generic tests still slower in realworld 
> aplications).. which probably makes a lot (at least me) users uneasy 
> about switching to the 5.2.x tree :)

If you were using PHP 3, you could have made the same argument probably. 
  Its not a perfect process.  It gets ugly sometimes.  But, IMO, it 
works better than one or two people having total control and say in how 
things are done.

-- 

Brian Moon
-------------
http://dealnews.com/
It's good to be cheap =)
