<?php class W { const X = [1 => 2, 3 => 4]; public function f() { $a = 5; if (isset(static::X[$a])) { print "$a exists\n"; } else { print "$a doesn't exists\n"; } } } $x = new W; $x->f();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`