hphp_thread_type

Return thread type

function hphp_thread_type(): int;

See enum class ThreadType.

Returns

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