mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
First pass at moving `Zend/tests/gh*` tests to existing sub directories Work towards GH-15631
11 lines
245 B
PHP
11 lines
245 B
PHP
--TEST--
|
|
GH-10377 (Unable to have an anonymous readonly class) - usage variation: abstract modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = new abstract class {};
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use the abstract modifier on an anonymous class in %s on line %d
|