function foo()

in t/htdocs/php/func5.php [5:19]


function foo()
{
        global $file;

        $fp = fopen($file, "w");
        if( $fp )
        {
                fclose($fp);
        }
        else
        {
                // Attempt to alert the user
                error_log("can't write $file.", 0);
        }
}