mirror of
https://github.com/php/php-src.git
synced 2026-04-20 22:41:20 +02:00
The extension name should match the name of the ext/ directory, otherwise it will not get picked up by run-tests. It would be possible to remap this in run-tests, but I think it's better to rename the extension to follow the standard format. Other extensions also use underscore instead of hyphen (e.g. pdo_mysql and not pdo-mysql). Of course, the ./configure option remains hyphenated. Closes GH-6613.
15 lines
376 B
PHP
15 lines
376 B
PHP
--TEST--
|
|
Bug 76337: segmentation fault when an extension use zend_register_class_alias() and opcache enabled
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
<?php if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
--FILE--
|
|
<?php
|
|
var_dump(class_exists('_ZendTestClassAlias'));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|