blob: 70504e14eb381f423e77c632c45763908e6d76ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Enum disallows constructor
--FILE--
<?php
enum Foo {
public function __construct() {}
}
?>
--EXPECTF--
Fatal error: Enum may not include __construct in %s on line %d
|