[SOLVED] Trying to make a table with function run

If you are trying to implement OOP, you might want to give these a read first:

Although I don’t see why you would need OOP in this case.
A table of functions work just as well here, unless I’m not understanding something.