Search notes:

VIM variables: $VIM

$VIM belongs to the three special $ variables, the other two being $HOME and VIMRUNTIME.
If the environment variable VIM is not defined, $VIM might be assigned a value that is dependent on the value of exe_name, at least if running on Windows, that is.
Another fallback for $VIM seems to be the value of the global variable default_vim_dir, see vim_getenv().
If vim determined the value for $VIMRUNTIME, it also sets the value of didset_vim to TRUE.

See also

$VIMRUNTIME

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758197851, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/script/vimscript/variables/VIM(45): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78