Exemplo n.º 1
0
/**
 * Replaces timer tags with the passed $tags array.
 *
 * @param int $timer Valid timer resource
 * @param array $tags An array of tags and their values in the form of "tag" => "value". Cannot contain numeric indexes for obvious reasons.
 *
 * @return bool Returns true on success and false on failure.
 * @link https://github.com/tony2001/pinba_engine/wiki/PHP-extension#pinba_timer_tags_replace
 */
function pinba_timer_tags_replace($timer, array $tags)
{
    return pinba::timer_tags_replace($timer, $tags);
}