Advertisement
Guest User

Untitled

a guest
May 24th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. class Seba {
  2.  
  3.     private $hasBathtub;
  4.     public function __construct() {
  5.         $this->hasBathtub = false;
  6.     }
  7.  
  8.     public function checkForBathtub() {
  9.         return $this->hasBathtub;
  10.     }
  11.    
  12.     public static function isFaggot() {
  13.         return true;
  14.     }
  15.    
  16. }
  17.  
  18. $seba = new Seba;
  19.  
  20. $czyWanna = $seba->checkForBathtub();
  21.  
  22. echo('Seba to '.(Seba::isFaggot ? 'pedał' : 'heteroseksualista'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement