我不建議那樣去做的原因是,您可以分兩次有效地轉換代碼,一次是從*作代碼(opcode)到模板,再一次是從模板到實際的代碼。
In the meantime, investigate one or more of the PHP accelerators and opcode optimizers.
It is generated under a variety of conditions, such as an illegal opcode, illegal operand, privileged opcode, and so on.
Invalid combination of opcode and operands
For example, the processor might trap if an illegal opcode is found within the program.
For any website I work with, it's the one thing I make sure is present, since the performance impact is huge (many times with response times half of what they are without an opcode cache).
It failed because the compreg opcode assumes a hash to initialized.