mocking user/system function using runkit extension.