PHP - get current working directory

    
        $currentWorkingDir = getcwd();