Do you know? Haha, I feel like I am a good guy. Do you know? Haha, I feel like this is what I do.
Reply content:
Do you know? Haha, I feel like this is what I do.
In addition to the issue and patch mentioned by mcfog, we can also develop high-quality PECL extensions and try to submit PECL extensions to pecl.php.net. another core developer, Dmitry Stogov (@ Leningrad), who works alongside laruence in PHP7, developed the accelerator Turck MMCache In the PHP4 era to improve PHP performance. Now, he leads ZendOpcache and Zend-JIT project development. laruence is also one step by one. It has developed extensions such as Yaf, Yar, Yac, and Taint, and is also the maintainer of APC, Opcache, and Msgpack extensions.
PHP Swoole build PHP extension in the tutorial written by the author:
Http://wiki.swoole.com/wiki/page/238.html (video tutorial)
Http://php.net/manual/zh/internals2.buildsys.php
The php-src/ext/ext_skel script is used to generate the PECL extension source code skeleton.
Http://www.laruence.com/2011/09/13/2139.html
Getting Started: http://www.walu.cc/phpbook/
Case: php-src/ext
PECL Development Contact Group: http://news.php.net/php.pecl.dev
Try to write some phpt test cases. There are many references under php-src/tests.
Compile PHP with -- enable-debug during testing. Execute your extension logic without outputting any error information. Use valgrind to detect memory leakage.
Like PHP code encryption extension php-beast and K/V cache extension pcache in PHP Processes similar to Yac (the amount of code is very small), you can refer:
Https://github.com/liexusong
Start from submitting an issue and participating in the discussion.
Slowly submit some patches
The number and quality of patches have gradually increased, and the speeches are valuable. Naturally, there is a chance.
First, you need to go back to the C language to write extensions or even contribute your own code directly to the source code.
It is not like an exam to become an official PHP developer. After you take the test, you can become a PHP developer. The main reason is that your ability has been officially recognized or your contribution has been officially recognized, not quite enough.
China is not just a bird brother, but Han tianfeng, a developer of swoole at least, has php.net mailboxes. But they are not pure php developers. They are all people who contribute directly to php code, unlike php.
Btw I also hope that one day I can contribute directly to the php source code.