Title, first I know it's C. And I want to develop a deep layer of development want to learn C to engage in PHP extension, do you feel the need to go this way?
Reply content:
Title, first I know it's C. And I want to develop a deep layer of development want to learn C to engage in PHP extension, do you feel the need to go this way?
I recommend a tutorial for you, the foreigner wrote, some Daniel translated: http://wiki.jikexueyuan.com/project/extending-embedding-php/This is the Geek College wiki above, on GitHub can also search.
I followed this study, and later wrote a simple PHP MVC framework to practice the practiced hand, the code is not particularly good, but relatively simple, you can refer to: HTTPS://GITHUB.COM/NLADUO/TINYEXTMVC
Just c, preferably Linux C
Learn C, c, flexible use C, then read the PHP source code, understand the Zend API, understand the extended life cycle and so on. And then start again.
Take a look at some of the cases written by others, will get started faster http://project.codefrom.com/?w=php%E6%89%A9%E5%B1%95
1. Read a book.
2. Tap the code. Ctags Required Plugins.
3. Set a recent goal, for example, to implement the PHP string function itself. Source code is more complex, you can implement a simple version.
C Foundation, and Zend API, the most important is the method of compiling.