[Editor's note: that is supported as of runkit-1.0.4]
It's also possible to pass a closure to `runkit_function_add`:
<?php
runkit_function_add("func", function ($s) {
error_log("hello $s");
});
func("there"); // hello there
?>