Skip to content
An example php7 module with class definition , blog post: http://tinytechie.net/#/_posts/On_writing_php7_extension
C M4 PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
README.md
config.m4
example.c
example.h
test.php

README.md

php7-example

An example on how to write php7 extension

BUILD

phpize
./configure
make
make test
make install 

CONFIGURATION

php.ini

extension=example.so

Usage

<?php

$c = new example("Hello");

echo $c->get(), "\n";

CREDITs:

  • No credit required

LICENSE

As always, do whatever you want ;) I do this to learn thing only

You can’t perform that action at this time.