Skip to content

Kirby 4.1.2

PHP::write()

Creates a PHP file with the given data

PHP::write(string $file, $data = [ ]): bool

Parameters

Name Type Default
$file * string
$data mixed [ ]

Return type

bool

Parent class

Kirby\Data\PHP