PHP: Important usage of Array and String