How to get root dirctory by php

<?php echo realpath(‘./’)?>

very simple, right?