Won't work for PHP < 5.4 if callable is an array.