No, you can’t.
But you could declare it as a static property.
public static $MYARRAY = array('123', '234');
—————Update—————————–
Array const is available from PHP 5.6.
php.net/manual/en/migration56.new-features.php
No, you can’t.
But you could declare it as a static property.
public static $MYARRAY = array('123', '234');
—————Update—————————–
Array const is available from PHP 5.6.
php.net/manual/en/migration56.new-features.php