1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 00:32:23 +01:00
Files
archived-php-src/tests/classes/interface_method_private.phpt
Gabriel Caruso 4aabfe911e Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
2022-07-06 12:06:48 +02:00

13 lines
230 B
PHP

--TEST--
ZE2 An interface method cannot be private
--FILE--
<?php
interface if_a {
abstract private function err();
}
?>
--EXPECTF--
Fatal error: Access type for interface method if_a::err() must be omitted in %s on line %d