summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2012-12-05 13:23:37 +0400
committerDmitry Stogov <dmitry@zend.com>2012-12-05 13:23:37 +0400
commitfa30e4754bea0d0c6a048ca029c543ddcaf3b84f (patch)
treeded4eb102e268dd14c3a9144be5cf3bfa455086a /UPGRADING
parent16b1d45e6935faef042c73439497b481db2307c6 (diff)
downloadphp-git-fa30e4754bea0d0c6a048ca029c543ddcaf3b84f.tar.gz
Slight performance improvement
Diffstat (limited to 'UPGRADING')
-rwxr-xr-xUPGRADING2
1 files changed, 1 insertions, 1 deletions
diff --git a/UPGRADING b/UPGRADING
index 170c6de51d..b01a399697 100755
--- a/UPGRADING
+++ b/UPGRADING
@@ -54,7 +54,7 @@ PHP 5.5 UPGRADE NOTES
stores new offsets in op_array->opcodes[*].op?.num. You can use macros
EX_TMP_VAR() and EX_TMP_VAR_NUM() to access temp_variable by offset or
number. You can convert number to offset using EX_TMP_VAR_NUM(0, num) or
- offset to number (EX_TMP_VAR(0,offset)-EX_TMP_VAR_NUM(0,0)).
+ offset to number (EX_TMP_VAR_NUM(0,0)-EX_TMP_VAR(0,offset)).
- Removed execute_data->CVs field. The VM compiled variables always allocated
immediately after execute_data structure. Now they are accessed by offset
from the execute_data base pointer (instead of execute_data->CVs). You can