预定义常量
在线手册:中文 英文
PHP手册

Win32Service Service Status Constants
Constant Value Description
WIN32_SERVICE_CONTINUE_PENDING 0x00000005 The service continue is pending.
WIN32_SERVICE_PAUSE_PENDING 0x00000006 The service pause is pending.
WIN32_SERVICE_PAUSED 0x00000007 The service is paused.
WIN32_SERVICE_RUNNING 0x00000004 The service is running.
WIN32_SERVICE_START_PENDING 0x00000002 The service is starting.
WIN32_SERVICE_STOP_PENDING 0x00000003 The service is stopping.
WIN32_SERVICE_STOPPED 0x00000001 The service is not running.

预定义常量
在线手册:中文 英文
PHP手册