diff options
author | Antony Dovgal <tony2001@php.net> | 2007-02-02 12:53:54 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-02-02 12:53:54 +0000 |
commit | 535e38a47361813d1ebb611dc498663d68802f94 (patch) | |
tree | 7fa18b55ff1268b47da0c43427e065cde91d62fa /Zend/tests/errmsg_037.phpt | |
parent | 92bf7d987280e8b9de717b352fc64f85432ff2b5 (diff) | |
download | php-git-535e38a47361813d1ebb611dc498663d68802f94.tar.gz |
add new tests
Diffstat (limited to 'Zend/tests/errmsg_037.phpt')
-rw-r--r-- | Zend/tests/errmsg_037.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_037.phpt b/Zend/tests/errmsg_037.phpt new file mode 100644 index 0000000000..6b98bb3339 --- /dev/null +++ b/Zend/tests/errmsg_037.phpt @@ -0,0 +1,13 @@ +--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 |