getcwd fucnction in php

it  returns current directory.it returns current directory on success and otherwise failure.
syntanx
getcwd();

<?php
echo getcwd();
?>
it could be:
C:\test\mains