<?php sys_get_temp_dir(): string
<?php $mode = PHP_OS_FAMILY !== 'Windows' ? 0444 : 0000; $filename = sprintf('%s/%s', sys_get_temp_dir(), 'doctrine_failed_connection_' . $mode . '.db'); if (file_exists($filename)) { $this->cleanupReadOnlyFile($filename);