php-extension-research / Study

手把手教你写PHP协程扩展(teach you to write php coroutine extension by hand)

Projects that are alternatives of or similar to Study

cpp-coroutine-job-system
Example Code for Cpp Coroutine Job System talk at CppCon 2020
Stars: ✭ 37 (-87.02%)
Mutual labels:  coroutine
libjwdpmi
C++20 development framework for 32-bit DOS applications
Stars: ✭ 32 (-88.77%)
Mutual labels:  coroutine
Coroutine
C++ 20 Coroutines in Action (Helpers + Test Code Examples)
Stars: ✭ 262 (-8.07%)
Mutual labels:  coroutine
relay
The next-generation caching layer for PHP.
Stars: ✭ 21 (-92.63%)
Mutual labels:  php-extension
DeezerClone
This Application using Dagger Hilt, Coroutines, Flow, Jetpack (Room, ViewModel, LiveData),Navigation based on MVVM architecture.
Stars: ✭ 81 (-71.58%)
Mutual labels:  coroutine
ext-chunkutils2
PHP extension in C++ implementing the modern Minecraft: Bedrock subchunk format for PocketMine-MP 4.0
Stars: ✭ 26 (-90.88%)
Mutual labels:  php-extension
swoole-postgresql-doctrine-driver
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL client
Stars: ✭ 15 (-94.74%)
Mutual labels:  coroutine
Netserver
A C++ High Performance Net Library
Stars: ✭ 271 (-4.91%)
Mutual labels:  coroutine
panda
A simple extension for PHP
Stars: ✭ 45 (-84.21%)
Mutual labels:  php-extension
Inlineactivityresult
Receive the activity result directly after the startActivityForResult with InlineActivityResult
Stars: ✭ 264 (-7.37%)
Mutual labels:  coroutine
PHPMailer-Swoole
安装最新版Swoole,开启一键协程化,使用原版phpmailer就可以实现协程化了。本项目已经没有维护下去的意义。
Stars: ✭ 25 (-91.23%)
Mutual labels:  coroutine
benchbox
🧀 The Benchmark Testing Box
Stars: ✭ 19 (-93.33%)
Mutual labels:  coroutine
raylib-php
PHP 8 Bindings to raylib
Stars: ✭ 112 (-60.7%)
Mutual labels:  php-extension
php aho corasick
Aho-Corasick string search algorithm PHP extension implementation.
Stars: ✭ 45 (-84.21%)
Mutual labels:  php-extension
Fibjs
JavaScript on Fiber (built on Chrome's V8 JavaScript engine)
Stars: ✭ 2,880 (+910.53%)
Mutual labels:  coroutine
Askme
Social media app to ask and answer user questions and interact with users
Stars: ✭ 16 (-94.39%)
Mutual labels:  coroutine
cocoyaxi
A go-style coroutine library in C++11 and more.
Stars: ✭ 2,392 (+739.3%)
Mutual labels:  coroutine
Python3 Concurrency Pics 02
爬取 www.mzitu.com 全站图片,截至目前共5162个图集,16.5万多张美女图片,使用 asyncio 和 aiohttp 实现的异步版本只需要不到2小时就能爬取完成。按日期创建图集目录,保存更合理。控制台只显示下载的进度条,详细信息保存在日志文件中。支持异常处理,不会终止爬虫程序。失败的请求,下次再执行爬虫程序时会自动下载
Stars: ✭ 275 (-3.51%)
Mutual labels:  coroutine
Melang
A script language of preemptive scheduling coroutine in single thread
Stars: ✭ 273 (-4.21%)
Mutual labels:  coroutine
Genawaiter
Stackless generators on stable Rust.
Stars: ✭ 263 (-7.72%)
Mutual labels:  coroutine

介绍

手把手教你编写PHP协程扩展。在线阅读

请不要安装xdebug扩展。

前言

目前社区有很多PHP源码分析以及扩展开发的文章,但是不够系统和全面,学完之后有一种似懂非懂的感觉。这本电子书的目标是全方位细致深度讲解如何开发PHP协程扩展,让大家可以掌握PHP扩展开发的技能。

开发环境

PHP版本:7.3.5

操作系统:尽可能是alpine

你也可以直接使用我为你准备的Dockerfile,以保证和我的开发环境一致,避免不必要的麻烦:

docker build -t study -f docker/Dockerfile .

本教程适合人群

基本的数据结构、网络编程、汇编语言、C语言,能读懂代码即可,并且希望成为一个优秀的PHP工程师的人。

讨论

可以加QQ群进行讨论:

942858122

如果对教程有什么疑问,欢迎在issue提出(建议先提issue,然后再在群里问),我们一起努力打造出一个高质量的、系统化的PHP扩展开发教程。

感谢

感谢Swoole这个项目,没有这个项目,就没有这个教程。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].