The original post: /r/php by /u/Competitive_Drive127 on 2024-10-08 19:58:26.

For a while now, I’ve been using an associative array in a class as a static variable , to get more global access. Do you recommend using a static weakmap in the class instead of a static array?