Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the current working directory
<?php getcwd(): string|false
<?php $files       = [__DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php'];

$loader      = null;

$cwd         = getcwd();

$directories = [$cwd, $cwd . DIRECTORY_SEPARATOR . 'config'];

$configFile  = null;