diff options
Diffstat (limited to 'vendor/symfony/polyfill-php72/bootstrap.php')
| -rw-r--r-- | vendor/symfony/polyfill-php72/bootstrap.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/symfony/polyfill-php72/bootstrap.php b/vendor/symfony/polyfill-php72/bootstrap.php new file mode 100644 index 0000000000..1ad7f16ce4 --- /dev/null +++ b/vendor/symfony/polyfill-php72/bootstrap.php @@ -0,0 +1,23 @@ +<?php + +/* + * This file is part of the Symfony package. + * + * (c) Fabien Potencier <fabien@symfony.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +use Symfony\Polyfill\Php72 as p; + +if ('\\' === DIRECTORY_SEPARATOR && !function_exists('sapi_windows_vt100_support')) { + function sapi_windows_vt100_support() { return false; } +} +if (!function_exists('stream_isatty')) { + function stream_isatty($stream) { return function_exists('posix_isatty') && @posix_isatty($stream); } +} +if (!function_exists('utf8_encode')) { + function utf8_encode($s) { return p\Php72::utf8_encode($s); } + function utf8_decode($s) { return p\Php72::utf8_decode($s); } +} |
