PluginProbe ʕ •ᴥ•ʔ
پارسی دیت – Parsi Date / trunk
پارسی دیت – Parsi Date vtrunk
6.2.1 6.2 6.1 5.1.6 5.1.7 5.1.8 5.1.8.2 6.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.0.0-alpha 2.1 2.1.1 2.1.2 2.1.3 2.1.5 2.1.6 2.1.7 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0.1 2.3.0.2 2.3.1 2.3.2 2.3.3 2.3.4 3.0.1 3.0.2 3.0.3 4.0.0 4.0.1 4.0.2 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5
wp-parsidate / vendor / symfony / polyfill-php83 / bootstrap.php
wp-parsidate / vendor / symfony / polyfill-php83 Last commit date
Resources 1 month ago LICENSE 1 month ago Php83.php 1 month ago README.md 1 month ago bootstrap.php 1 month ago bootstrap72.php 1 month ago bootstrap81.php 1 month ago composer.json 1 month ago
bootstrap.php
55 lines
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 use Symfony\Polyfill\Php83 as p;
13
14 if (\PHP_VERSION_ID >= 80300) {
15 return;
16 }
17
18 if (!function_exists('json_validate')) {
19 function json_validate(string $json, int $depth = 512, int $flags = 0): bool { return p\Php83::json_validate($json, $depth, $flags); }
20 }
21
22 if (!function_exists('stream_context_set_options')) {
23 function stream_context_set_options($context, array $options): bool { return stream_context_set_option($context, $options); }
24 }
25
26 if (!function_exists('str_increment')) {
27 function str_increment(string $string): string { return p\Php83::str_increment($string); }
28 }
29
30 if (!function_exists('str_decrement')) {
31 function str_decrement(string $string): string { return p\Php83::str_decrement($string); }
32 }
33
34 if (\PHP_VERSION_ID < 80000) {
35 require __DIR__.'/bootstrap72.php';
36 }
37
38 if (extension_loaded('mbstring')) {
39 if (!function_exists('mb_str_pad')) {
40 function mb_str_pad(?string $string, ?int $length, ?string $pad_string = ' ', ?int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Php83::mb_str_pad((string) $string, (int) $length, (string) $pad_string, (int) $pad_type, $encoding); }
41 }
42 }
43
44 if (\PHP_VERSION_ID >= 80100) {
45 return require __DIR__.'/bootstrap81.php';
46 }
47
48 if (!function_exists('ldap_exop_sync') && function_exists('ldap_exop')) {
49 function ldap_exop_sync($ldap, string $request_oid, ?string $request_data = null, ?array $controls = null, &$response_data = null, &$response_oid = null): bool { return ldap_exop($ldap, $request_oid, $request_data, $response_data, $response_oid); }
50 }
51
52 if (!function_exists('ldap_connect_wallet') && function_exists('ldap_connect')) {
53 function ldap_connect_wallet(?string $uri, string $wallet, string $password, int $auth_mode = \GSLC_SSL_NO_AUTH) { return ldap_connect($uri, $wallet, $password, $auth_mode); }
54 }
55