<?php getcwd(): string|false
<?php 'REQUEST_TIME' => time(), 'REQUEST_TIME_FLOAT' => microtime(true), 'QUERY_STRING' => $event->getQueryString(), 'DOCUMENT_ROOT' => getcwd(), 'REQUEST_URI' => $event->getUri(), 'REMOTE_ADDR' => $event->getSourceIp(), ];
<?php if (! $this->directory) { $this->directory = getcwd(); } }
<?php public function testĀ defaultĀ container(): void { $_SERVER['LAMBDA_TASK_ROOT'] = getcwd(); $this->assertInstanceOf(FileHandlerLocator::class, Bref::getContainer()); }