From: xKhorasan Date: Mon, 14 May 2018 22:36:14 +0000 (+0900) Subject: Fixed bug #76337 X-Git-Tag: php-7.2.7RC1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5681f6523bb36d6b49ab802ddba75e53d8d45268;p=php Fixed bug #76337 --- diff --git a/Zend/tests/bug76337.phpt b/Zend/tests/bug76337.phpt new file mode 100644 index 0000000000..07608e2660 --- /dev/null +++ b/Zend/tests/bug76337.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug 76337: segmentation fault when an extension use zend_register_class_alias() and opcache enabled +--SKIPIF-- +ce_flags |= ZEND_ACC_TRAIT; zend_declare_property_null(zend_test_trait, "testProp", sizeof("testProp")-1, ZEND_ACC_PUBLIC); + + zend_register_class_alias("_ZendTestClassAlias", zend_test_class); return SUCCESS; }