Tagged articles
4 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Oct 22, 2025 · Backend Development

Boost PHP Concurrency with Pokio: Async API Guide and Code Samples

Pokio is a lightweight PHP asynchronous API that enables concurrent task execution using PCNTL and FFI, automatically falling back to sequential mode when unavailable; the guide explains installation via Composer, core functions async, await, then, catch, finally, and provides detailed code examples for promises, chaining, and error handling.

Asynchronousconcurrencypcntl
0 likes · 5 min read
Boost PHP Concurrency with Pokio: Async API Guide and Code Samples
php Courses
php Courses
Dec 22, 2022 · Backend Development

PHP Multi‑Process Development: Processes, Signals, and pcntl Functions

This article provides a comprehensive guide to PHP multi‑process development on Linux, covering basic shell commands, ELF file types, terminal concepts, process states, orphan and zombie processes, process groups and sessions, signal handling, and practical pcntl/posix code examples for forking, daemonizing, and managing child processes.

Backend DevelopmentPHPUnix
0 likes · 15 min read
PHP Multi‑Process Development: Processes, Signals, and pcntl Functions
21CTO
21CTO
Aug 12, 2015 · Backend Development

How to Build a Pure PHP Timer with PCNTL and Signals

This article explains how to implement a pure‑PHP timer using CLI mode, the PCNTL extension, and SIGALRM signals, covering basic concepts, task storage structures, the Timer class implementation, example usage, and practical considerations for long‑running services.

CLISchedulerpcntl
0 likes · 9 min read
How to Build a Pure PHP Timer with PCNTL and Signals