<?php class asdf { const DUPA = array('hehe' => 'asdf'); public function foo() { defined(self::DUPA['asdf']) ? $m = 'tak' : $m = "nie"; echo $m; } } (new asdf)->foo();
You have javascript disabled. You will not be able to edit any code.