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/invalid_abstract_final.phpt
2024-07-14 11:55:03 +02:00

13 lines
223 B
PHP

--TEST--
Property hook cannot be both abstract and final
--FILE--
<?php
class Test {
public abstract $prop { final get; }
}
?>
--EXPECTF--
Fatal error: Property hook cannot be both abstract and final in %s on line %d