Coder Social home page Coder Social logo

panda's Introduction

Develop a simple PHP extension to learn PHP extension development and the PHP kernel (PHP7)

Build Status

Install the extension

  1. git clone
    git clone https://github.com/wujunze/panda
  2. Compilation and installation extension
    $ /path/to/phpize
    $ ./configure --with-php-config=/path/to/php-config
    $ make && make install
  1. Add at last in php.ini
[panda]
extension = panda.so
  1. Restart php-fpm

Use the extension

  1. View the extensions installed PHP_ext_Panda.png

  2. So let's test that out Panda-run.png

Special thanks to

  1. 信海龙的博客
  2. 深入理解PHP内核
  3. PHP 扩展开发及内核应用相关内容
  4. 零基础学习PHP拓展开发
  5. PHP 扩展开发 -- 使用 clion 配置

panda's People

Contributors

viest avatar wujunze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

panda's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.