芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/core/utils/str.php
= 6.2-alpha if ( class_exists( '\WpOrg\Requests\IdnaEncoder' ) ) { $class = \WpOrg\Requests\IdnaEncoder::class; } else { $class = \Requests_IDNAEncoder::class; } return $matches[1] . $class::encode( $matches[2] ); }, $url ); } /** * Checks if a string ends with a given substring * * @param $haystack * @param $needle * @return bool */ public static function ends_with( $haystack, $needle ) { return substr( $haystack, -strlen( $needle ) ) === $needle; } }