1 Star 0 Fork 13

zkg/wk_framework

forked from 上帝禁区/wk_framework 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wk_view.h 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
上帝禁区 提交于 2014-04-02 17:09 . 初稿
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2013 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef PHP_TEMPLATE_H
extern zend_class_entry *ext_view_ce, *ext_view_impl_ce;
EXT_STARTUP_FUNCTION(view);
#if ((PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION > 2)) || (PHP_MAJOR_VERSION > 5)
#define STORE_EG_ENVIRON() \
{ \
zval ** __old_return_value_pp = EG(return_value_ptr_ptr); \
zend_op ** __old_opline_ptr = EG(opline_ptr); \
zend_op_array * __old_op_array = EG(active_op_array);
#define RESTORE_EG_ENVIRON() \
EG(return_value_ptr_ptr) = __old_return_value_pp;\
EG(opline_ptr) = __old_opline_ptr; \
EG(active_op_array) = __old_op_array; \
}
#else
#define STORE_EG_ENVIRON() \
{ \
zval ** __old_return_value_pp = EG(return_value_ptr_ptr); \
zend_op ** __old_opline_ptr = EG(opline_ptr); \
zend_op_array * __old_op_array = EG(active_op_array); \
zend_function_state * __old_func_state = EG(function_state_ptr);
#define RESTORE_EG_ENVIRON() \
EG(return_value_ptr_ptr) = __old_return_value_pp;\
EG(opline_ptr) = __old_opline_ptr; \
EG(active_op_array) = __old_op_array; \
EG(function_state_ptr) = __old_func_state; \
}
#endif
#endif /* PHP_TEMPLATE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Davis/wk_framework.git
git@gitee.com:Davis/wk_framework.git
Davis
wk_framework
wk_framework
master

搜索帮助