仓库 ... 代码 999+ Issues ... 博客 ...
语言: 全部
排序: 最佳匹配
找到相关代码为11536
搜索工具
                        
                            该版本主要修正了上一个版本存在的一些问题,并改进了关联查询

* 改进聚合查询方法的字段支持DISTINCT
* 改进定义路由后url函数的端口生成
* 改进控制器中间件对`swoole`等的支持                        
                    
                            ...
                        
                        
                            * 修正别名路由配置定义读取
* 改进`resultToModel`方法
* 修正开启类库后缀后的注解路由生成
* `Response`类增加`noCache`快捷方法
* 改进路由对象在`Swoole`/`Workerman`下面参数多次合并问题                        
                    
Markdown 522 2058 612 最后索引于 2020-02-24 17:59:48
                        
                             + 支持PSR-3日志规范
 + 中间件支持(`V5.1.6+`)
 + 支持`Swoole`/`Workerman`运行(`V5.1.18+`)

官方已经正式宣布`5.1.27`版本为LTS版本。                        
                    
Markdown 403 1982 816 最后索引于 2020-08-24 06:28:37
                        
                             + 支持PSR-3日志规范
 + 中间件支持(`V5.1.6+`)
 + 支持`Swoole`/`Workerman`运行(`V5.1.18+`)

官方已经正式宣布`5.1.27`版本为LTS版本。                        
                    
Markdown 380 1569 667 最后索引于 2020-07-07 02:02:42
                        
                                PHP_ME(swoole_server_port, set,             arginfo_swoole_server_port_set,         ZEND_ACC_PUBLIC)
    PHP_ME(swoole_server_port, on,              arginfo_swoole_server_port_on,          ZEND_ACC_PUBLIC)
    PHP_ME(swoole_server_port, getCallback,     arginfo_swoole_server_port_getCallback, ZEND_ACC_PUBLIC)
#ifdef SWOOLE_SOCKETS_SUPPORT
    PHP_ME(swoole_server_port, getSocket,       arginfo_swoole_void, ZEND_ACC_PUBLIC)                        
                    
                            ...
                        
                        
                            void php_swoole_server_port_minit(int module_number) {
    SW_INIT_CLASS_ENTRY(
        swoole_server_port, "Swoole\\Server\\Port", "swoole_server_port", nullptr, swoole_server_port_methods);
    SW_SET_CLASS_SERIALIZABLE(swoole_server_port, zend_class_serialize_deny, zend_class_unserialize_deny);
    SW_SET_CLASS_CLONEABLE(swoole_server_port, sw_zend_class_clone_deny);                        
                    
C++ 313 1328 297 最后索引于 2020-09-05 03:51:21
                        
                            /*
 +----------------------------------------------------------------------+
 | Swoole                                                               |
 +----------------------------------------------------------------------+
 | This source file is subject to version 2.0 of the Apache license,    |                        
                    
                            ...
                        
                        
                            
#include "swoole.h"
#include "swoole_heap.h"

#define left(i) ((i) << 1)                        
                    
C++ 313 1328 297 最后索引于 2020-09-05 03:51:23
                        
                            
#include "swoole_thread_pool.h"
#include "swoole_signal.h"
#include "swoole_log.h"                        
                    
                            ...
                        
                        
                                SwooleTG.buffer_stack = swString_new(SW_STACK_BUFFER_SIZE);
    if (SwooleTG.buffer_stack == nullptr) {
        return nullptr;
    }                        
                    
C++ 313 1328 297 最后索引于 2020-09-05 03:51:23
                        
                                ZEND_FENTRY(exists, ZEND_FN(swoole_timer_exists), arginfo_swoole_timer_exists, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
    ZEND_FENTRY(info, ZEND_FN(swoole_timer_info), arginfo_swoole_timer_info, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
    ZEND_FENTRY(stats, ZEND_FN(swoole_timer_stats), arginfo_swoole_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
    ZEND_FENTRY(list, ZEND_FN(swoole_timer_list), arginfo_swoole_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
    ZEND_FENTRY(clear, ZEND_FN(swoole_timer_clear), arginfo_swoole_timer_clear, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)                        
                    
                            ...
                        
                        
                                SW_FUNCTION_ALIAS(&swoole_timer_ce->function_table, "info", CG(function_table), "swoole_timer_info");
    SW_FUNCTION_ALIAS(&swoole_timer_ce->function_table, "stats", CG(function_table), "swoole_timer_stats");
    SW_FUNCTION_ALIAS(&swoole_timer_ce->function_table, "list", CG(function_table), "swoole_timer_list");
    SW_FUNCTION_ALIAS(&swoole_timer_ce->function_table, "clear", CG(function_table), "swoole_timer_clear");
    SW_FUNCTION_ALIAS(&swoole_timer_ce->function_table, "clearAll", CG(function_table), "swoole_timer_clear_all");                        
                    
C++ 313 1328 297 最后索引于 2020-09-05 03:51:23
                        
                            $pm->parentFunc = function ($pid) use ($pm) {
    $client = new swoole_client(SWOOLE_SOCK_TCP | SWOOLE_SSL, SWOOLE_SOCK_SYNC); //同步阻塞
    if (!$client->connect('127.0.0.1', $pm->getFreePort()))
    {
        exit("connect failed\n");                        
                    
                            ...
                        
                        
                            
$pm->childFunc = function () use ($pm) {
    $serv = new swoole_server('127.0.0.1', $pm->getFreePort(), SWOOLE_BASE, SWOOLE_SOCK_TCP | SWOOLE_SSL);
    $serv->set([
        'log_file' => '/dev/null',                        
                    
PHP 313 1328 297 最后索引于 2020-08-26 03:02:35
                        
                            $pm->parentFunc = function ($pid) use ($pm) {
    $client = new swoole_client(SWOOLE_SOCK_UDP | SWOOLE_SSL, SWOOLE_SOCK_SYNC); //同步阻塞
    if (!$client->connect('127.0.0.1', $pm->getFreePort()))
    {
        exit("connect failed\n");                        
                    
                            ...
                        
                        
                            
$pm->childFunc = function () use ($pm) {
    $serv = new swoole_server('127.0.0.1', $pm->getFreePort(), SWOOLE_BASE, SWOOLE_SOCK_UDP | SWOOLE_SSL);
    $serv->set([
        'log_file' => '/dev/null',                        
                    
PHP 313 1328 297 最后索引于 2020-08-26 03:02:35
                        
                            //
//  Created by Дмитрий Бахвалов on 13.07.15.
//  Copyright (c) 2015 Dmitry Bakhvalov. All rights reserved.
//                        
                    
C 313 1328 297 最后索引于 2020-08-26 03:02:51
                        
                            #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>                        
                    
C 313 1328 297 最后索引于 2020-08-26 03:02:51

推荐博客

...