How can PHP determine the source file of a request?
PHP can determine the source file of a request by using the `__FILE__` magic constant. This constant contains the full path and filename of the current file. By using `__FILE__`, you can easily determine the source file of a request in your PHP code.
$currentFile = __FILE__;
echo "The source file of this request is: $currentFile";