mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-15 02:16:56 +01:00
13 lines
360 B
Plaintext
13 lines
360 B
Plaintext
Some special methods cannot be static
|
|
-----
|
|
<?php class A { static function __construct() {} }
|
|
-----
|
|
"__construct" method cannot be static on line 1
|
|
-----
|
|
<?php class A { static function __destruct() {} }
|
|
-----
|
|
"__destruct" method cannot be static on line 1
|
|
-----
|
|
<?php class A { static function __clone() {} }
|
|
-----
|
|
"__clone" method cannot be static on line 1 |