php-extsample
php-extsample copied to clipboard
Contains extension example code, things like creating basic functions, classes, methods, array handling and so on. If you want an example of something just open an issue
I have something like this: PHP_FUNCTION(modify) { smart_str ss = { 0 }; zval *val; long opts = 0; zval *strings ; HashTable sht; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zla", &val, &opts,...
Hi, I really appreciated your effort on extension writing. Actually, I was looking for the same..I wanted to write extension for PHP but don't know how. Can you please tell...