• 大小: 84.24M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-03-01
  • 语言: 其他
  • 标签: 其他  

资源简介

禾匠独立版前后端3.1.40.zip

资源截图

代码片段和文件信息

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier 
 *
 * For the full copyright and license information please view the LICENSE
 * file that was distributed with this source code.
 */

#ifdef HAVE_CONFIG_H
#include “config.h“
#endif

#include “php.h“
#ifdef ZTS
#include “TSRM.h“
#endif
#include “php_ini.h“
#include “ext/standard/info.h“
#include “php_symfony_debug.h“
#include “ext/standard/php_rand.h“
#include “ext/standard/php_lcg.h“
#include “ext/spl/php_spl.h“
#include “Zend/zend_gc.h“
#include “Zend/zend_builtin_functions.h“
#include “Zend/zend_extensions.h“ /* for ZEND_EXTENSION_API_NO */
#include “ext/standard/php_array.h“
#include “Zend/zend_interfaces.h“
#include “SAPI.h“

#define IS_PHP_53 ZEND_EXTENSION_API_NO == 220090626

ZEND_DECLARE_MODULE_GLOBALS(symfony_debug)

ZEND_BEGIN_ARG_INFO_EX(symfony_zval_arginfo 0 0 2)
ZEND_ARG_INFO(0 key)
ZEND_ARG_ARRAY_INFO(0 array 0)
ZEND_ARG_INFO(0 options)
ZEND_END_ARG_INFO()

const zend_function_entry symfony_debug_functions[] = {
PHP_FE(symfony_zval_info symfony_zval_arginfo)
PHP_FE(symfony_debug_backtrace NULL)
PHP_FE_END
};

PHP_FUNCTION(symfony_debug_backtrace)
{
if (zend_parse_parameters_none() == FAILURE) {
return;
}
#if IS_PHP_53
zend_fetch_debug_backtrace(return_value 1 0 TSRMLS_CC);
#else
zend_fetch_debug_backtrace(return_value 1 0 0 TSRMLS_CC);
#endif

if (!SYMFONY_DEBUG_G(debug_bt)) {
return;
}

php_array_merge(Z_ARRVAL_P(return_value) Z_ARRVAL_P(SYMFONY_DEBUG_G(debug_bt)) 0 TSRMLS_CC);
}

PHP_FUNCTION(symfony_zval_info)
{
zval *key = NULL *arg = NULL;
zval **data = NULL;
HashTable *array = NULL;
long options = 0;

if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC “zh|l“ &key &array &options) == FAILURE) {
return;
}

switch (Z_TYPE_P(key)) {
case IS_STRING:
if (zend_symtable_find(array Z_STRVAL_P(key) Z_STRLEN_P(key) + 1 (void **)&data) == FAILURE) {
return;
}
break;
case IS_LONG:
if (zend_hash_index_find(array Z_LVAL_P(key) (void **)&data)) {
return;
}
break;
}

arg = *data;

array_init(return_value);

add_assoc_string(return_value “type“ (char *)_symfony_debug_zval_type(arg) 1);
add_assoc_stringl(return_value “zval_hash“ _symfony_debug_memory_address_hash((void *)arg TSRMLS_CC) 16 0);
add_assoc_long(return_value “zval_refcount“ Z_REFCOUNT_P(arg));
add_assoc_bool(return_value “zval_isref“ (zend_bool)Z_ISREF_P(arg));

if (Z_TYPE_P(arg) == IS_object) {
char hash[33] = {0};

php_spl_object_hash(arg (char *)hash TSRMLS_CC);
add_assoc_stringl(return_value “object_class“ (char *)Z_OBJCE_P(arg)->name Z_OBJCE_P(arg)->name_length 1);
add_assoc_long(return_value “object_refcount“ EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(arg)].bucket.obj.refcount);
add_assoc_string(return_value “object_hash“ hash 1);
add_assoc_long(return_v

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         313  2019-05-13 13:15  禾匠独立版 前后端 3.1.40\安装说明.txt
     目录           0  2019-04-20 19:05  禾匠独立版 前后端 3.1.40\
     目录           0  2019-03-13 12:50  禾匠独立版 前后端 3.1.40\hjmall_d\
     文件         160  2019-03-30 12:04  禾匠独立版 前后端 3.1.40\hjmall_d\.env
     文件        1191  2018-08-10 19:49  禾匠独立版 前后端 3.1.40\hjmall_d\.env.example
     文件         110  2018-07-20 20:05  禾匠独立版 前后端 3.1.40\hjmall_d\.gitignore
     文件       25932  2018-08-20 19:42  禾匠独立版 前后端 3.1.40\hjmall_d\README.md
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\
     文件         575  2018-05-08 14:52  禾匠独立版 前后端 3.1.40\hjmall_d\assets\AppAsset.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\models\
     文件       11135  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\models\MsWechatTplMsgSender.php
     文件        1427  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\models\StepSetting.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\controllers\
     文件       22492  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\controllers\UserController.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\models\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\models\step\
     文件       18006  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\api\models\step\IndexForm.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\group\
     文件        5289  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\group\WechatTplMsgSender.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\step\
     文件        2273  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\step\StepActivityForm.php
     文件        2832  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\models\step\StepSettingForm.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\views\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\views\goods\
     文件       78998  2018-11-16 17:16  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\views\goods\goods-edit.php
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\views\step\
     目录           0  2019-03-13 12:48  禾匠独立版 前后端 3.1.40\hjmall_d\assets\modules\mch\views\step\default\
............此处省略20648个文件信息

评论

共有 条评论