Update PHPFunctions.php