Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets the value of an environment variable
<?php putenv(string $assignment): bool
<?php         date_default_timezone_set('UTC');



        self::$prevTerminalEmulator = getenv('TERMINAL_EMULATOR');

        putenv('TERMINAL_EMULATOR');

    }



    public static function tearDownAfterClass(): void
<?php     public static function tearDownAfterClass(): void

    {

        date_default_timezone_set(self::$timezone);

        putenv('TERMINAL_EMULATOR'.(self::$prevTerminalEmulator ? '='.self::$prevTerminalEmulator : ''));

    }
<?php     public function testFlags()

    {

        putenv('DUMP_LIGHT_ARRAY=1');

        putenv('DUMP_STRING_LENGTH=1');



        $var = [
<?php     public function testFlags()

    {

        putenv('DUMP_LIGHT_ARRAY=1');

        putenv('DUMP_STRING_LENGTH=1');



        $var = [

            range(1, 3),
<?php             $var

        );



        putenv('DUMP_LIGHT_ARRAY=');

        putenv('DUMP_STRING_LENGTH=');

    }
<?php         );



        putenv('DUMP_LIGHT_ARRAY=');

        putenv('DUMP_STRING_LENGTH=');

    }