From 59511d23c6c02f21264ebe531e45af5c1ef37307 Mon Sep 17 00:00:00 2001 From: codinghuang <2812240764@qq.com> Date: Fri, 31 May 2019 11:41:09 +0800 Subject: [PATCH] Update --- study.cc | 6 ++++++ test.php | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 test.php diff --git a/study.cc b/study.cc index dac7d32..bc36dc1 100644 --- a/study.cc +++ b/study.cc @@ -20,26 +20,32 @@ PHP_MINIT_FUNCTION(study) { + php_printf("MINIT\n"); return SUCCESS; } PHP_MSHUTDOWN_FUNCTION(study) { + php_printf("MSHUTDOWN\n"); return SUCCESS; } PHP_RINIT_FUNCTION(study) { + php_printf("RINIT\n"); return SUCCESS; } PHP_RSHUTDOWN_FUNCTION(study) { + php_printf("RSHUTDOWN\n"); return SUCCESS; } PHP_MINFO_FUNCTION(study) { + php_printf("MINFO\n"); + php_info_print_table_start(); php_info_print_table_header(2, "study support", "enabled"); php_info_print_table_end(); diff --git a/test.php b/test.php new file mode 100644 index 0000000..0de483d --- /dev/null +++ b/test.php @@ -0,0 +1,3 @@ +