Php Cannot Use String Offset As An Array That Equals