title: Can I overload an array subscript operator in PHP?
body: <p>I have a class with an internal array, and I'd like to overload the subscript operator to access the internal array and provide debug/logging actions.</p>
  
  <p>Is there any possible way to overload the [] operator in PHP, or is there another option I should be chasing in this case?</p>