Вход Регистрация
Файл: vendor/symfony/polyfill-php83/bootstrap.php
Строк: 133
<?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 SymfonyPolyfillPhp83 as p;

if (
PHP_VERSION_ID >= 80300) {
    return;
}

if (!
function_exists('json_validate')) {
    function 
json_validate(string $jsonint $depth 512int $flags 0): bool { return pPhp83::json_validate($json$depth$flags); }
}

if (
extension_loaded('mbstring')) {
    if (!
function_exists('mb_str_pad')) {
        function 
mb_str_pad(string $stringint $lengthstring $pad_string ' 'int $pad_type STR_PAD_RIGHT, ?string $encoding null): string { return pPhp83::mb_str_pad($string$length$pad_string$pad_type$encoding); }
    }
}

if (!
function_exists('stream_context_set_options')) {
    function 
stream_context_set_options($context, array $options): bool { return stream_context_set_option($context$options); }
}

if (!
function_exists('str_increment')) {
    function 
str_increment(string $string): string { return pPhp83::str_increment($string); }
}

if (!
function_exists('str_decrement')) {
    function 
str_decrement(string $string): string { return pPhp83::str_decrement($string); }
}

if (
PHP_VERSION_ID >= 80100) {
    return require 
__DIR__.'/bootstrap81.php';
}

if (!
function_exists('ldap_exop_sync') && function_exists('ldap_exop')) {
    function 
ldap_exop_sync($ldapstring $request_oid, ?string $request_data null, ?array $controls null, &$response_data null, &$response_oid null): bool { return ldap_exop($ldap$request_oid$request_data$controls$response_data$response_oid); }
}

if (!
function_exists('ldap_connect_wallet') && function_exists('ldap_connect')) {
    function 
ldap_connect_wallet(?string $uristring $walletstring $passwordint $auth_mode GSLC_SSL_NO_AUTH) { return ldap_connect($uri$wallet$password$auth_mode); }
}
Онлайн: 2
Реклама