ALIAS

fpc()

ShortPHP reference for file_put_contents().

Signature

file_put_contents(string $filename, mixed $data, int $flags = 0, ?resource $context = null): int|false

Example

fpc(...);

PHP equivalent

file_put_contents() is the canonical PHP function. ShortPHP provides fpc() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: fgc()

Next: function_exists()

Back to reference