Fantastic functions and where to find them
summary
Shows concrete concurrency demos: uses pcntl_fork to run parent and child branches, socket_pair + read/write for IPC and waitpid polling to collect results, and packages that wrap this into a usable fork API that actually runs tasks in parallel. Explains global installs via auto_prepend_file to make Ray available without Composer. Drops ecosystem numbers (≈330,000 packages, ~1.6 billion monthly downloads, 55 billion total) and a postcardware quirk requiring postcards and missing 249 million of them.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:55PHP ecosystem contributions
- 3:16Why PHP is fantastic
- 5:25Learning from other ecosystems
- 6:09Concurrency with fork
- 11:28Waiting for child processes
- 13:37Inter-process sockets
- 15:41Fork package for concurrency
- 17:09Global functions with auto_prepend_file
- 18:34Debugging with Ray
- 22:49Keeping PHP relevant
- 23:31Future of Ray
- 23:51Q&A








