correcting issue with PHP 5.3 where array is used as constant