Is it standard for PHP to not provide information on the script being executed in autoprepend?

When using the `auto_prepend_file` directive in PHP to include a script before every PHP script execution, PHP does not provide information about the script being executed within the autoprepend script. To solve this issue, you can use `$_SERVER['SCRIPT_FILENAME']` or `$_SERVER['PHP_SELF']` to get the path of the currently executing script.

// autoprepend.php
$scriptName = isset($_SERVER['SCRIPT_FILENAME']) ? $_SERVER['SCRIPT_FILENAME'] : $_SERVER['PHP_SELF'];
echo "Currently executing script: $scriptName";