Example #1
0
size_t php_http_boundary(char *buf, size_t buf_len)
{
	return snprintf(buf, buf_len, "%15.15F", sapi_get_request_time() * php_combined_lcg());
}
Example #2
0
/* {{{ http_boundary(char *, size_t) */
size_t _http_boundary(char *buf, size_t buf_len TSRMLS_DC)
{
	return snprintf(buf, buf_len, "%lu%0.9f", (ulong) HTTP_G->request.time, (float) php_combined_lcg(TSRMLS_C));
}