Skip to content

Commit d9b80ef

Browse files
committed
[skip ci] Fix typos in UPGRADING
Closes GH-5183
1 parent b442c89 commit d9b80ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UPGRADING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ PHP 8.0 UPGRADE NOTES
370370
. It is now possible to fetch the class name of an object using
371371
`$object::class`. The result is the same as `get_class($object)`.
372372
RFC: https://wiki.php.net/rfc/class_name_literal_on_object
373-
. New and instanceof can now be used with arbitary expressions, using
373+
. New and instanceof can now be used with arbitrary expressions, using
374374
`new (expression)(...$args)` and `$obj instanceof (expression)`.
375375
RFC: https://wiki.php.net/rfc/variable_syntax_tweaks
376376
. Some consistency fixes to variable syntax have been applied, for example

UPGRADING.INTERNALS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
1212
i. get_closure() object handler
1313
j. compare_objects() and compare() object handlers
1414
k. The 'I' length modifier
15-
l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR
15+
l. Some VM instructions switched to IS_TMP_VAR result instead of IS_VAR
1616

1717
2. Build system changes
1818
a. Abstract
@@ -91,7 +91,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
9191
The 'v' format from the custom snprintf and spprintf implementations has
9292
been removed. Use the standard 's' format instead.
9393

94-
l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR.
94+
l. Some VM instructions switched to IS_TMP_VAR result instead of IS_VAR.
9595
Actually, all assignments (ZEND_ASSIGN, ZEND_ASSIGN_DIM, ZEND_ASSIGN_OBJ,
9696
ZEND_ASSIGN_STATIC_PROP), all compound assignments (ZEND_ASSIGN_OP,
9797
ZEND_ASSIGN_DIM_OP, ZEND_ASSIGN_OBJ_OP, ZEND_ASSIGN_STATIC_PROP_OP) and all

0 commit comments

Comments
 (0)