📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 18:35:38
📂
/ (Root)
/
home
/
apkbfjox
/
7lgbet.pro
/
wp-content
/
plugins
/
wp-rocket
/
inc
📍 /home/apkbfjox/7lgbet.pro/wp-content/plugins/wp-rocket/inc
🔄 Refresh
✏️
Editing: compat.php
Writable
<?php defined( 'ABSPATH' ) || exit; if ( ! function_exists( 'str_starts_with' ) ) { /** * Polyfill for str_starts_with() function added in PHP 8.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_starts_with( $haystack, $needle ) { if ( '' === $needle ) { return true; } return 0 === strpos( $haystack, $needle ); } } if ( ! function_exists( 'str_contains' ) ) { /** * Polyfill for str_contains() function added in PHP 8.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 ) ); } }
💾 Save Changes
❌ Cancel