hphp_get_thread_id

Gets current thread's ID

function hphp_get_thread_id(): int;

Returns

  • int - - The pthread_self() return.