{ if (!@is_file($file)) { $changePermissions = true; } if ($fd = fopen($file, 'wb')) { $res = fwrite($fd, $content); fclose($fd); if ($res === false) { return false; } // Change the permissions only if the file has just been created if ($changePermissions) { static::fixPermissions($file); } return true; } return false; } 1 2 4 6 8
indexes. * * @param int $start start index, must be >= 0 * @param int $end end index, must be > $start * * @return string code, will not be empty */ public function generatePartialCode(int $start, int $end) Nachbedingungen Vorbedingungen