Ruby Convert String Into Array Php Documentation