]> granicus.if.org Git - php/commitdiff
Update opt test
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 18 Mar 2021 14:25:40 +0000 (15:25 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 18 Mar 2021 14:25:40 +0000 (15:25 +0100)
And fix a type in the fetch class flags dumping while here.

Zend/Optimizer/zend_dump.c
ext/opcache/tests/opt/sccp_024.phpt

index e2fdbbcbf73821d0746917100a9a184cbf86963d..e75d059dab7c85378f3fc624e05ffbb1fe6d059e 100644 (file)
@@ -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)");
index 0e4cbee76abd55a0d94d8a917cdb8004ebe5aae5..040baf9d8bfd9c69c08723fe69dae3c05169e992 100644 (file)
@@ -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