Intercept array accessors in PHP?

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

Guest
Is it possible to intercept array accessors in PHP, similar to the way you can intercept class accessors with __get / __set and class functions with __call ?
 
Um ... without a clearer understanding of what you are trying to accomplish, about all I can say is no, you can't treat primitives like classes, in any programming language.
 
Back
Top