xref: /PHP-8.4/Zend/tests/errmsg_037.phpt (revision 780a8280)
1--TEST--
2errmsg: properties cannot be abstract
3--FILE--
4<?php
5
6class test {
7    abstract $var = 1;
8}
9
10echo "Done\n";
11?>
12--EXPECTF--
13Fatal error: Only hooked properties may be declared abstract in %s on line %d
14