Use arrayaccess with static class - by user308776 Hello, how I can use array acces with my static class? F.e. I like to execute next script: class A { ... } A['p'] = 15; echo isset(A['p']) ? A['p'] : 0; Read the article