<?php str_replace( array|string $search, array|string $replace, string|array $subject, int &$count = null): string|array
<?php $connection = $this->connection(); if ($this->isPureFtpdServer()) { $path = str_replace(' ', '\ ', $path); $path = $this->escapePath($path); }
<?php private function escapePath(string $path): string { return str_replace(['*', '[', ']'], ['\\*', '\\[', '\\]'], $path); } }
<?php $visibility = $isDirectory ? $this->visibility->inverseForDirectory($permissions) : $this->visibility->inverseForFile($permissions); yield $isDirectory ? new DirectoryAttributes($path, $visibility, $lastModified) : new FileAttributes( str_replace('\\', '/', $path), $fileInfo->getSize(), $visibility, $lastModified
<?php { private function formatPropertyName(string $offset): string { return str_replace('_', '', lcfirst(ucwords($offset, '_'))); }
<?php { public function normalizePath(string $path): string { $path = str_replace('\\', '/', $path); $this->rejectFunkyWhiteSpace($path); return $this->normalizeRelativePath($path);