/** * Replaces timer user data with the passed $data array. * Use NULL value to reset user data in the timer. * * @param int $timer Valid timer resource * @param array $data An array of user data. * * @return bool Returns true on success and false on failure. * @link https://github.com/tony2001/pinba_engine/wiki/PHP-extension#pinba_timer_data_replace */ function pinba_timer_data_replace($timer, array $data) { return pinba::timer_data_replace($timer, $data); }