Files
php-src/tests/classes/interface_member.phpt
2021-03-17 19:08:03 +01:00

12 lines
187 B
PHP

--TEST--
ZE2 An interface cannot have properties
--FILE--
<?php
interface if_a {
public $member;
}
?>
--EXPECTF--
Fatal error: Interfaces may not include properties in %s on line %d