Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
wp-phpmyadmin-extension
/
lib
/
phpMyAdmin
/
vendor
/
thecodingmachine
/
safe
/
generated
:
rrd.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Safe; use Safe\Exceptions\RrdException; /** * Creates the rdd database file. * * @param string $filename Filename for newly created rrd file. * @param array $options Options for rrd create - list of strings. See man page of rrd create * for whole list of options. * @throws RrdException * */ function rrd_create(string $filename, array $options): void { error_clear_last(); $result = \rrd_create($filename, $options); if ($result === false) { throw RrdException::createFromPhpError(); } }