added testPhpFunctions