<?php is_file(string $filename): bool
<?php | if (! is_file($autoload_file = $basePath.'/vendor/autoload.php')) { fwrite(STDERR, "Composer autoload file was not found. Did you install the project's dependencies?".PHP_EOL); exit(10);
<?php function move_uploaded_file($from, $to) { return \is_file($from) && \rename($from, $to); }
<?php return $pathToFile && ! in_array(pathinfo($pathToFile, PATHINFO_EXTENSION), ['php', 'htaccess', 'config']) && str_starts_with($pathToFile, $publicPath) && is_file($pathToFile); }