Workaday Reading

So you thought call_user_func() was just another way to call a PHP method…

“In most cases, call_user_func() and call_user_func_array() are just slower but more flexible ways to call functions or methods. But it turns out they are not entirely equivalent where methods are involved. Consider this fragment, and guess the output.”


read »

Leave a Reply

Your email address will not be published. Required fields are marked *