');
}
$ref = new ref($format);
// Observium specific paths
ref::config('stylePath', $GLOBALS['config']['html_dir'] . '/css/ref.css');
ref::config('scriptPath', $GLOBALS['config']['html_dir'] . '/js/ref.js');
if ($capture) {
ob_start();
}
foreach ($args as $index => $arg) {
$ref->query($arg, $expressions ? $expressions[$index] : null);
}
// return the results if this function was called with the error suppression operator
if ($capture) {
return ob_get_clean();
}
// stop the script if this function was called with the bitwise not operator
if (in_array('~', $options, true) && ($format === 'html')) {
echo('