From 8690efd1f8593edec3d1e9c4ed9e89b3018bfd58 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 18 Mar 2021 15:25:40 +0100 Subject: [PATCH] Update opt test And fix a type in the fetch class flags dumping while here. --- Zend/Optimizer/zend_dump.c | 2 +- ext/opcache/tests/opt/sccp_024.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/Optimizer/zend_dump.c b/Zend/Optimizer/zend_dump.c index e2fdbbcbf7..e75d059dab 100644 --- a/Zend/Optimizer/zend_dump.c +++ b/Zend/Optimizer/zend_dump.c @@ -101,7 +101,7 @@ static void zend_dump_class_fetch_type(uint32_t fetch_type) break; } if (fetch_type & ZEND_FETCH_CLASS_NO_AUTOLOAD) { - fprintf(stderr, " (no-autolod)"); + fprintf(stderr, " (no-autoload)"); } if (fetch_type & ZEND_FETCH_CLASS_SILENT) { fprintf(stderr, " (silent)"); diff --git a/ext/opcache/tests/opt/sccp_024.phpt b/ext/opcache/tests/opt/sccp_024.phpt index 0e4cbee76a..040baf9d8b 100644 --- a/ext/opcache/tests/opt/sccp_024.phpt +++ b/ext/opcache/tests/opt/sccp_024.phpt @@ -38,7 +38,7 @@ A::t: 0003 ECHO T2 0004 T2 = INSTANCEOF CV0($obj) string("self") 0005 ECHO T2 -0006 V3 = FETCH_CLASS (no-autolod) (exception) CV1($c) +0006 V3 = FETCH_CLASS (no-autoload) (silent) (exception) CV1($c) 0007 T2 = INSTANCEOF CV0($obj) V3 0008 ECHO T2 0009 RETURN null -- 2.40.0