remove recent php5 array syntax from core class