File size: 224 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
errmsg: __destruct() cannot be static
--FILE--
<?php

class test {

    static function __destruct() {
    }
}

echo "Done\n";
?>
--EXPECTF--
Fatal error: Method test::__destruct() cannot be static in %s on line %d