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