Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Seba {
- private $hasBathtub;
- public function __construct() {
- $this->hasBathtub = false;
- }
- public function checkForBathtub() {
- return $this->hasBathtub;
- }
- public static function isFaggot() {
- return true;
- }
- }
- $seba = new Seba;
- $czyWanna = $seba->checkForBathtub();
- echo('Seba to '.(Seba::isFaggot ? 'pedał' : 'heteroseksualista'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement