The following code should raise a linter error, but currently does not:
<?php class MyClass { const SOME_CONSTANT = array(1, 2, 3); }
Trying to execute this code produces a fatal error:
PHP Fatal error: Arrays are not allowed in class constants in /home/joshua/workspace/github.com/phacility/libphutil/test.php on line 4