Improve php function asserter.