From a744bf88af119ed063a5ddebcdd7d71da3f38967 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sat, 15 Feb 2020 17:49:18 -0500 Subject: [PATCH] [skip ci] Fix typos in UPGRADING --- UPGRADING | 2 +- UPGRADING.INTERNALS | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UPGRADING b/UPGRADING index 574ab6a9639c9..e71bc5332a215 100644 --- a/UPGRADING +++ b/UPGRADING @@ -370,7 +370,7 @@ PHP 8.0 UPGRADE NOTES . It is now possible to fetch the class name of an object using `$object::class`. The result is the same as `get_class($object)`. RFC: https://wiki.php.net/rfc/class_name_literal_on_object - . New and instanceof can now be used with arbitary expressions, using + . New and instanceof can now be used with arbitrary expressions, using `new (expression)(...$args)` and `$obj instanceof (expression)`. RFC: https://wiki.php.net/rfc/variable_syntax_tweaks . Some consistency fixes to variable syntax have been applied, for example diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 297d1d7b2ccc1..6381b22d37486 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -12,7 +12,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES i. get_closure() object handler j. compare_objects() and compare() object handlers k. The 'I' length modifier - l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR + l. Some VM instructions switched to IS_TMP_VAR result instead of IS_VAR 2. Build system changes a. Abstract @@ -91,7 +91,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES The 'v' format from the custom snprintf and spprintf implementations has been removed. Use the standard 's' format instead. - l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR. + l. Some VM instructions switched to IS_TMP_VAR result instead of IS_VAR. Actually, all assignments (ZEND_ASSIGN, ZEND_ASSIGN_DIM, ZEND_ASSIGN_OBJ, ZEND_ASSIGN_STATIC_PROP), all compound assignments (ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ZEND_ASSIGN_OBJ_OP, ZEND_ASSIGN_STATIC_PROP_OP) and all