UTILITY

write_json()

ShortPHP reference for write_json().

Signature

function write_json(string $path, mixed $value, int $flags = JSON_PRETTY_PRINT): int

Example

write_json(...);

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: words()

Back to utilities