You know that getcwd and chdir do different things, right? Why are you comparing them? Jonathan On Wed, Nov 4, 2009 at 10:31 PM, Raymond Irving <xwisdom@xxxxxxxxx> wrote: > Hello, > > I've been doing some test with getcwd() and chdir() and it has turned out that calling getcwd() is much faster than chdir() > > Any ideas why this is so? Is it the OS? > > Tested on Windows XP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php