xref: /PHP-5.3/Zend/tests/errmsg_033.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: __destruct() cannot be static
3--FILE--
4<?php
5
6class test {
7
8	static function __destruct() {
9	}
10}
11
12echo "Done\n";
13?>
14--EXPECTF--
15Fatal error: Destructor test::__destruct() cannot be static in %s on line %d
16