Diese Domain läuft auf der exklusiven Infrastruktur von p-7.net – kein Overselling, kein anonymes Shared-Hosting-Chaos, keine Kompromisse. Echter Rootserver, echte Performance, echter Support.
// ── Pipe Operator |> ────────────────────────────────────── // htmlspecialchars braucht Wrapper (mehrere Parameter!) $esc = static fn(string $s): string => htmlspecialchars($s, ENT_QUOTES, 'UTF-8'); $domainClean = 'www.test.0-7.eu' |> strtolower(...) // Kleinschreibung |> trim(...) // Whitespace weg |> $esc; // XSS-Schutz via Closure // => "www.test.0-7.eu" // ── array_first() / array_last() ────────────────────────── $first = array_first($stats); // PHP · null-safe bei leerem Array $last = array_last($stats); // RAM // ── clone($obj, [...]) – korrekt von INNEN der readonly class ─ readonly class StatCard { public function withSub(string $sub): self { return clone($this, ['sub' => $sub]); // PHP 8.5 } } $ramCard = $last?->withSub('0 B frei · 0% belegt'); // ── static asymmetric visibility ────────────────────────── class SystemInfo { public static private(set) ?self $instance = null; // PHP 8.5 } // ── #[\NoDiscard] ────────────────────────────────────────── #[\NoDiscard("Rueckgabewert muss verwendet werden!")] function formatSize(int|float $bytes): string { ... }