ALIAS

fgc()

ShortPHP reference for file_get_contents().

Signature

file_get_contents(string $filename, bool $use_include_path = false, ?resource $context = null, int $offset = 0, ?int $length = null): string|false

Example

fgc(...);

PHP equivalent

file_get_contents() is the canonical PHP function. ShortPHP provides fgc() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: exists()

Next: fpc()

Back to reference