Skip to content

whatvn/php7-example-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example php7 module with class definition , blog post: http://tinytechie.net/#/_posts/On_writing_php7_extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published