リソース型
Thread
pthreads
PHP Manual

# 定義済み定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

The following constants are for selective inheritance:

`PTHREADS_INHERIT_ALL` (integer)
  The default inheritance mask used when starting Threads and Workers
`PTHREADS_INHERIT_INI` (integer)
  Determines wether the ini entries are inherited by the new context
`PTHREADS_INHERIT_CONSTANTS` (integer)
  Determines wether the constants are inherited by the new context
`PTHREADS_INHERIT_CLASSES` (integer)
  Determines wether the class table is inherited by the new context
`PTHREADS_INHERIT_FUNCTIONS` (integer)
  Determines wether the function table is inherited by the new context
`PTHREADS_INHERIT_INCLUDES` (integer)
  Determines wether the included_files table is inherit by the new context
`PTHREADS_INHERIT_NONE` (integer)
  Nothing will be inherited by the new context

リソース型
Thread
pthreads
PHP Manual