function trigger_sampled_error( string $error_msg, int $sample_rate, int $error_type = E_USER_NOTICE, ): bool;
string $error_msg
int $sample_rate
int $error_type = E_USER_NOTICE
bool