Skip to content

Commit

Permalink
update session;
Browse files Browse the repository at this point in the history
  • Loading branch information
sasou committed Nov 15, 2024
1 parent b49d79f commit 8488c68
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 117 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

欢迎来到 Gene 框架, 一种崭新的速度最快PHP扩展框架。开源、全功能栈、使用 C 编写、极致优化的高性能框架。身处在框架社区的繁荣之下,我们都在有意或无意地追逐,简单而不简单。极简而具有扩展性的架构设计、围绕常驻内存的方式而开发,提供了命令行、容器注入、钩子、路由、缓存等开发所需的众多开箱即用的组件。一份代码同时支持PHP-FPM模式、swoole常驻模式的唯一扩展框架,可以开发高性能的web应用或者常驻内存应用,让开发者不再为框架烦恼,不再为性能忧愁,写最少的代码,做最靓的仔!

> 最新版本:5.1.0
> 最新版本:5.1.2
> 官方网站:Gene框架 http://1xm.net/
框架核心特性:
Expand Down
9 changes: 9 additions & 0 deletions src/common/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,15 @@ void gene_time(zval *retval) /*{{{*/
zval_ptr_dtor(&function_name);
}/*}}}*/

void gene_bcadd(zval *a, zval *b, zval *retval) /*{{{*/
{
zval function_name;
ZVAL_STRING(&function_name, "bcadd");
zval params[] = { *a,*b };
call_user_function(NULL, NULL, &function_name, retval, 2, params);
zval_ptr_dtor(&function_name);
}/*}}}*/

void gene_uniqid(zval *value, zval *retval) /*{{{*/
{
zval function_name;
Expand Down
2 changes: 1 addition & 1 deletion src/gene.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
extern zend_module_entry gene_module_entry;
#define phpext_gene_ptr &gene_module_entry

#define PHP_GENE_VERSION "5.1.1"
#define PHP_GENE_VERSION "5.1.2"

#ifdef PHP_WIN32
# define PHP_GENE_API __declspec(dllexport)
Expand Down
Loading

0 comments on commit 8488c68

Please sign in to comment.