hphp_thread_type

Return thread type

Description

function hphp_thread_type(): int

See enum class ThreadType.

Return Values

  • int - - thread type. Returns -1 if unknown.