blob: 6312ef64cef5fb20b5767496ca3f6e0454a323b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
errmsg: properties cannot be final
--FILE--
<?php
class test {
final $var = 1;
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot declare property test::$var final, the final modifier is allowed only for methods and classes in %s on line %d
|