Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the current working directory
<?php getcwd(): string|false
<?php     protected static function clearCompiled()

    {

        $laravel = new Application(getcwd());



        if (is_file($configPath = $laravel->getCachedConfigPath())) {

            @unlink($configPath);
<?php <?php



$publicPath = getcwd();



$uri = urldecode(

    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
<?php                 ? new Process($command, null, $this->environment)

                : Process::fromShellCommandline((string) $command, null, $this->environment);



        $process->setWorkingDirectory((string) ($this->path ?? getcwd()));

        $process->setTimeout($this->timeout);



        if ($this->idleTimeout) {
<?php         class_alias(AbstractListener::class, 'Tests\Integration\Foundation\Fixtures\EventDiscovery\Listeners\AbstractListener');

        class_alias(ListenerInterface::class, 'Tests\Integration\Foundation\Fixtures\EventDiscovery\Listeners\ListenerInterface');



        $events = DiscoverEvents::within(__DIR__.'/Fixtures/EventDiscovery/Listeners', getcwd());



        $this->assertEquals([

            EventOne::class => [
<?php     {

        class_alias(UnionListener::class, 'Tests\Integration\Foundation\Fixtures\EventDiscovery\UnionListeners\UnionListener');



        $events = DiscoverEvents::within(__DIR__.'/Fixtures/EventDiscovery/UnionListeners', getcwd());



        $this->assertEquals([

            EventOne::class => [
<?php                 ->toString();

        });



        $events = DiscoverEvents::within(__DIR__.'/Fixtures/EventDiscovery/Listeners', getcwd());



        $this->assertEquals([

            EventOne::class => [