PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I think you are right; `call_user_func` is pretty useless. Especially since in PHP you can do `$functionName()` to call a function with the name `$functionName`.
`call_user_func_array` on the other hand is super useful because you can send a variable number of arguments.
Example #5 on the documentation page gives a good example. Basically it lets you call an anonymous function - which is great if you just have some small code you want to call while in a function, ie: array_map()
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.