What function can be used to get the full path of the current file in PHP?
To get the full path of the current file in PHP, you can use the `__FILE__` magic constant. This constant contains the full path and filename of the file in which it appears. By using this constant, you can easily retrieve the full path of the current file in your PHP script.
$currentFilePath = __FILE__;
echo "The full path of the current file is: " . $currentFilePath;