Posted by peter on 04/11/07 08:59
> <?
> class fuck
> {
> private static function __construct(){}
> public static function off(){ return 'fuck off'; }
> }
> ?>
>
> sample use:
>
> <?
> echo fuck::off();
> ?>
im sorry but your going to be dissapointed your chances are blown:-
Fatal error: Constructor fuck::__construct() cannot be static in
PHPDocument1 on line 6
Navigation:
[Reply to this message]
|