直播中







// Binzy Wu 
// 2004-4-9 
// PHP Extension 
#if HAVE_BINZY 
extern zend_module_entry binzy_module_entry; 
#define binzy_module_ptr &binzy_module_entry 
PHP_FUNCTION(hellobinzy); // 
PHP_MINFO_FUNCTION(binzy); // 
#endif
// Binzy Wu 
// 2004-4-9 
// PHP Extension 
#include "php.h" 
#include "Binzy.h" 
#if HAVE_BINZY 
#if COMPILE_DL_BINZY 
ZEND_GET_MODULE(binzy) 
#endif 
function_entry binzy_functions[] = { 
PHP_FE(hellobinzy, NULL) 
{NULL, NULL, NULL} 
}; 
zend_module_entry binzy_module_entry = { 
STANDARD_MODULE_HEADER, 
"binzy", binzy_functions, NULL, NULL, NULL, NULL, PHP_MINFO(binzy), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES 
}; 
PHP_MINFO_FUNCTION(binzy) 
{ 
php_info_print_table_start(); 
php_info_print_table_row(2, "Binzy Extension", "Enable"); 
php_info_print_table_end(); 
} 
PHP_FUNCTION(hellobinzy) 
{ 
zend_printf("Hello Binzy"); 
} 
#endif
<? 
hellobinzy(); 
?>

