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