Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Basic usagePCNTL Functions>
^PCNTLLast updated: Mon, 26 Oct 2026

The Pcntl\QosClass Enum

(PHP 8 >= 8.4.0)

Introduction

The Pcntl\QosClass enum is used to specify the user process priority with pcntl_setqos_class().

Enum synopsis

namespace Pcntl;
enum QosClass
{
case UserInteractive ; // Runs the process as the highest priority level.

case UserInitiated ; // Runs the process at high priority level but below UserInteractive ones.

case Default ; // Runs the process after all high-priority processes but before the low-priority ones.

case Utility ; //Pcntl\QosClass::Utility description

case Background ; // Runs the process after all high-priority ones had ran their courses.

}

<Basic usagePCNTL Functions>
^PCNTLLast updated: Mon, 26 Oct 2026