- 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
|