# [VOTE] Direct execution opcode file without php source code file

- Thread: https://externals.io/message/113948
- Original archive: https://news-web.php.net/php.internals/113948
- Started by chopins.xiao@gmail.com on 2021-04-05T02:11:06+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

---

## #113948 — chopins.xiao@gmail.com — 2021-04-05T02:11:06+00:00

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

Hello everyone.

Direct execution opcode file without php source code file RFC vote is now open.

https://wiki.php.net/rfc/direct-execution-opcode

The deadline for voting is April 20.

Regards
Chopin Xiao

---

## #113949 — Sara Golemon — 2021-04-05T02:37:59+00:00

URL: https://externals.io/message/113948#113949 · In reply to: #113948

> Direct execution opcode file without php source code file RFC vote is now
> open.
>
> https://wiki.php.net/rfc/direct-execution-opcode
>
> The deadline for voting is April 20.
>
>
Voted no because, as stated during discussion, this is brittle, provides a
false sense of security, and doesn't fix any problem.

-Sara

---

## #113950 — Levi Morrison via internals — 2021-04-05T05:19:27+00:00

URL: https://externals.io/message/113948#113950 · In reply to: #113948

>
> Hello everyone.
>
> Direct execution opcode file without php source code file RFC vote is now open.
>
> https://wiki.php.net/rfc/direct-execution-opcode
>
> The deadline for voting is April 20.
>
> Regards
> Chopin Xiao

For those who want to execute opcodes without needing to have the
source available, there are multiple hurdles that need cleared. The
largest one I am familiar with (and I'm sure there are many more) is
this: many hooks in the engine used by extensions and zend_extensions
can cause the "system id" to change. Whenever the system id changes,
the opcache must be invalidated and rebuilt, which requires the source
to be available. Adding opcode handlers, requesting cache slots, and
many, many more extension points all affect this. Some of these things
can probably be done differently and not affect the system id, though
in some cases at a performance loss. Other things may require a new,
successor API that fills an equivalent purpose but without affecting
the system id.

---

## #113951 — me@jhdxr.com — 2021-04-05T07:17:43+00:00

URL: https://externals.io/message/113948#113951 · In reply to: #113948

Voted no as well. As point out during discussion, we are still not clear
about the advantages of this proposal. There are other competitive, if not
better, alternatives for the scenarios that the author suggested.

Regards,
CHU Zhaowei

> -----Original Message-----
> From: ?– ”k”k <chopins.xiao@gmail.com>
> Sent: Monday, April 5, 2021 10:11 AM
> To: internals@lists.php.net
> Subject: [PHP-DEV] [VOTE] Direct execution opcode file without php source
> code file
> 
> Hello everyone.
> 
> Direct execution opcode file without php source code file RFC vote is now
> open.
> 
> https://wiki.php.net/rfc/direct-execution-opcode
> 
> The deadline for voting is April 20.
> 
> Regards
> Chopin Xiao
