rfc:direct-execution-opcode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:direct-execution-opcode [2020/12/10 14:30] – add scenarios chopins | rfc:direct-execution-opcode [2020/12/18 14:39] – chopins | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-11-13 | * Date: 2020-11-13 | ||
* Author: chopins xiao(chopins.xiao@gmail.com) | * Author: chopins xiao(chopins.xiao@gmail.com) | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 64: | Line 64: | ||
</ | </ | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | Magic constant **%%__FILE__%%** is the absolute path to the compiled | + | PHP's constant is similar to a C macro,their values are determined when compiled into opcode. Therefore, the value of the system-related constant depends on the compiler' |
+ | So magic constant **%%__FILE__%%** is set to the absolute path of the compiler' | ||
The file path obtained by **error reporting**, | The file path obtained by **error reporting**, | ||
Line 108: | Line 109: | ||
===== Implementation ===== | ===== Implementation ===== | ||
[[https:// | [[https:// | ||
+ | |||
+ | ===== References ===== | ||
+ | - [[https:// | ||
+ | - [[https:// |
rfc/direct-execution-opcode.txt · Last modified: 2021/04/23 18:07 by imsop