__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Misc;
use Nextend\Framework\Misc\StringPhp\MultiByte;
use Nextend\Framework\Misc\StringPhp\SingleByte;
use Nextend\Framework\Misc\StringPhp\StringInterface;
use Nextend\Framework\Pattern\SingletonTrait;
class Str {
use SingletonTrait;
/**
* @var StringInterface
*/
private static $engine;
protected function init() {
if (function_exists('mb_strpos')) {
self::$engine = new MultiByte();
} else {
self::$engine = new SingleByte();
}
}
public static function strpos($haystack, $needle, $offset = 0) {
return self::$engine->strpos($haystack, $needle, $offset);
}
public static function substr($string, $start, $length = null) {
return self::$engine->substr($string, $start, $length);
}
public static function strlen($string) {
return self::$engine->strlen($string);
}
}
Str::getInstance();| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Base64 | Folder | 0775 |
|
|
| StringPhp | Folder | 0775 |
|
|
| Zip | Folder | 0775 |
|
|
| Base64.php | File | 388 B | 0775 |
|
| HttpClient.php | File | 942 B | 0775 |
|
| Str.php | File | 957 B | 0775 |
|
| cacert.pem | File | 216.28 KB | 0775 |
|