src
FilePath-related functions
Summary
-
src(string $file, string|null $dir, string $ext)
Return a valid src attribute value for a given file.
Parameters: |
- $file (string) – The filename.
- $dir (string|null) – The file’s directory.
- $ext (string) – The file’s extension.
|
Returns: | string
|
Usage
Examples
See Also