In that case I should get an error saying the variable doesn't exist. What happens instead is nothing is printed. Blank, zilch, nada.
Here is what the manual has to say:
"$PHP_SELF: The filename of the currently executing script, relative to the document root. If PHP is running as a command-line processor, this variable is not available."
I have PHP running as a command-line processor, not as a server module. So I guess that means it is just not available in my Windows setup.
Luciano ES
Santos, SP - Brasil