これ、syntax error出て欲しいけど、通っちゃう。 8行目
<?phpclass Sample{ const HOGE = 'hoge'; public function execute() { switch (true) { case self:HOGE: return 1; } } }
PHP5.3.10