1
0
mirror of synced 2026-10-31 12:16:39 +08:00

!10 PHP扩展增加参数校验。统一参数描述

This commit is contained in:
微希夷
2021-04-13 11:17:09 +08:00
committed by yitter
parent 694c4712d5
commit e74f2fba2a
5 changed files with 116 additions and 41 deletions

View File

@@ -99,8 +99,6 @@ PHP_METHOD(snowdrift, NextId)
RETURN_LONG(NextId(flake));
}
/** 这种方式性能比不上PHP直接循环调用NextId快
*/
PHP_METHOD(snowdrift, NextNumId)
{
zend_long num = 1;