mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
14 lines
199 B
PHP
14 lines
199 B
PHP
--TEST--
|
|
errmsg: properties cannot be abstract
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
abstract $var = 1;
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Properties cannot be declared abstract in %s on line %d
|