Should use camel-case notation for methods and parameters names, callFunction() and $function would do.