Php Cannot Access Variable Inside Function Brake