Skip to content

Commit 16de6d4

Browse files
committed
spelling: visited
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
1 parent 66092f8 commit 16de6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3778,7 +3778,7 @@ static bool is_effective_op2_double_cast(zend_op *opline, zval *op1) {
37783778
* E.g. 0+$i and 0.0+$i only differ by that cast. If then the consuming instruction of this
37793779
* result will perform a double cast anyway, the conversion is safe.
37803780
*
3781-
* The checks happens recursively, while keeping track of which variables are already visisted to
3781+
* The checks happens recursively, while keeping track of which variables are already visited to
37823782
* avoid infinite loops. An iterative, worklist driven approach would be possible, but the state
37833783
* management more cumbersome to implement, so we don't bother for now.
37843784
*/

0 commit comments

Comments
 (0)