xref: /PHP-8.1/ext/opcache/tests/bug76337.phpt (revision e9f783fc)
1--TEST--
2Bug 76337: segmentation fault when an extension use zend_register_class_alias() and opcache enabled
3--EXTENSIONS--
4opcache
5zend_test
6--INI--
7opcache.enable=1
8opcache.enable_cli=1
9--FILE--
10<?php
11var_dump(class_exists('_ZendTestClassAlias'));
12?>
13--EXPECT--
14bool(true)
15