# time to remove useless dirty hack

- Thread: https://externals.io/message/27794
- Original archive: https://news-web.php.net/php.internals/27794
- Started by Xuefer on 2007-02-05T09:16:20+00:00
- Messages: 1
- 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

---

## #27794 — Xuefer — 2007-02-05T09:16:20+00:00

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

ZendEngine2/zend_compile.c
opline->result.op_type = IS_CONST; /* FIXME: Hack so that
INIT_FCALL_BY_NAME still knows this is a class */

i checked cvs log (and hardly) find that this hack was for php
5.0-rc/betas, not even used in 5.0.

can anyone think about it and change it back to IS_TMP_VAR? it's the
only hack that makes opcode dirty as far as i know.
