Skip to content

Commit 8690efd

Browse files
committed
Update opt test
And fix a type in the fetch class flags dumping while here.
1 parent 4df39f4 commit 8690efd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/Optimizer/zend_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static void zend_dump_class_fetch_type(uint32_t fetch_type)
101101
break;
102102
}
103103
if (fetch_type & ZEND_FETCH_CLASS_NO_AUTOLOAD) {
104-
fprintf(stderr, " (no-autolod)");
104+
fprintf(stderr, " (no-autoload)");
105105
}
106106
if (fetch_type & ZEND_FETCH_CLASS_SILENT) {
107107
fprintf(stderr, " (silent)");

ext/opcache/tests/opt/sccp_024.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A::t:
3838
0003 ECHO T2
3939
0004 T2 = INSTANCEOF CV0($obj) string("self")
4040
0005 ECHO T2
41-
0006 V3 = FETCH_CLASS (no-autolod) (exception) CV1($c)
41+
0006 V3 = FETCH_CLASS (no-autoload) (silent) (exception) CV1($c)
4242
0007 T2 = INSTANCEOF CV0($obj) V3
4343
0008 ECHO T2
4444
0009 RETURN null

0 commit comments

Comments
 (0)