1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/property_hooks/interface_invalid_explicitly_abstract.phpt
2024-07-14 11:55:03 +02:00

13 lines
280 B
PHP

--TEST--
Property hooks in interfaces cannot be explicitly abstract
--FILE--
<?php
interface I {
public abstract $prop { get; }
}
?>
--EXPECTF--
Fatal error: Property in interface cannot be explicitly abstract. All interface members are implicitly abstract in %s on line %d