Normalize array syntax (use brackets).
Replaced preg_split with explode.