Submit
Path:
~
/
home
/
b
/
f
/
x
/
bfxleof
/
www
/
wp-content
/
plugins
/
duplicator
/
classes
/
utilities
/
File Content:
class.u.string.php
<?php defined('ABSPATH') || defined('DUPXABSPATH') || exit; /** * Utility class working with strings * * Standard: PSR-2 * @link http://www.php-fig.org/psr/psr-2 * * @package DUP * @subpackage classes/utilities * @copyright (c) 2017, Snapcreek LLC * @license https://opensource.org/licenses/GPL-3.0 GNU Public License * */ class DUP_STR { /** * Append the value to the string if it doesn't already exist * * @param string $string The string to append to * @param string $value The string to append to the $string * * @return string Returns the string with the $value appended once */ public static function appendOnce($string, $value) { return $string.(substr($string, -1) == $value ? '' : $value); } /** * Returns true if the string contains UTF8 characters * @see http://php.net/manual/en/function.mb-detect-encoding.php * * @param string $string The class name where the $destArray exists * * @return null */ public static function hasUTF8($string) { return preg_match('%(?: [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte |\xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs |[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte |\xED[\x80-\x9F][\x80-\xBF] # excluding surrogates |\xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 |[\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 |\xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 )+%xs', $string); } /** * Returns true if the $needle is found in the $haystack * * @param string $haystack The full string to search in * @param string $needle The string to for * * @return bool */ public static function contains($haystack, $needle) { $pos = strpos($haystack, $needle); return ($pos !== false); } /** * Returns true if the $haystack string starts with the $needle * * @param string $haystack The full string to search in * @param string $needle The string to for * * @return bool Returns true if the $haystack string starts with the $needle */ public static function startsWith($haystack, $needle) { $length = strlen($needle); return (substr($haystack, 0, $length) === $needle); } /** * Returns true if the $haystack string ends with the $needle * * @param string $haystack The full string to search in * @param string $needle The string to for * * @return bool Returns true if the $haystack string ends with the $needle */ public static function endsWith($haystack, $needle) { $length = strlen($needle); if ($length == 0) { return true; } return (substr($haystack, -$length) === $needle); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
JsonSerializable.php
577 bytes
0644
LimitStream.php
4209 bytes
0644
article-modified-time-presenter.php
609 bytes
0644
base.php
2793 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-tracking-server-data.php
1989 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
class.archive.config.php
1364 bytes
0644
class.db.php
7236 bytes
0644
class.pack.database.php
30838 bytes
0644
class.snaplib.u.net.php
1831 bytes
0644
class.u.json.php
4832 bytes
0644
class.u.multisite-20260622063853.php
907 bytes
0644
class.u.multisite.php
907 bytes
0644
class.u.php
27146 bytes
0644
class.u.scancheck.php
5179 bytes
0644
class.u.shell.php
1322 bytes
0644
class.u.string-20260623090340.php
3081 bytes
0644
class.u.string.php
3081 bytes
0644
class.u.validator.php
5903 bytes
0644
class.u.zip.php
6054 bytes
0644
class.web.services.php
7748 bytes
0644
ctrl.package.php
17073 bytes
0644
define.php
4567 bytes
0644
elFinderPlugin-20260705182242.php
3331 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260705194237.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions.php
708 bytes
0644
flexible-widget.php
11167 bytes
0644
image-helper.php
10231 bytes
0644
index.php
14 bytes
0644
loco.php
5626 bytes
0644
loco.xml
657 bytes
0644
manager.php
14659 bytes
0644
meta-fields-presenter.php
1600 bytes
0644
module.php
1297 bytes
0644
quick-edit-handler-1650.js
1848 bytes
0644
recovery.php
1146 bytes
0644
setup.php
2699 bytes
0644
uninstall.php
4401 bytes
0644
wordpress-seojs-ar.json
25925 bytes
0644
wordpress-seojs-uk.json
26506 bytes
0644
N4ST4R_ID | Naxtarrr