Array as class constant is not allowed
Sample code:
// ...
class y {
const x = array('a', 'b', 'c'); // Array as class constant is not allowed
//...
}
//...
In PHP it is not allowed to have array as class constant.
Skip to: Content | Navigation | Footer

Sample code:
// ...
class y {
const x = array('a', 'b', 'c'); // Array as class constant is not allowed
//...
}
//...
In PHP it is not allowed to have array as class constant.