Add support for serializing fake closures
未关闭
还没有人认领这个 Issue。
Category: Engine
Feature
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
Fake closures are closures that reference an existing function and are most likely the result of using the First Class Callable syntax function_name(...). It not being serializable makes it harder to move from array/string callable to it.
This limited support should be easier to implement than for arbitrary closures.
Came up as a user-note: https://php.net/manual/en/functions.first_class_callable_syntax.php#129635
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 没有指定源文件、测试或入口点,因此首先定位 PHP 源代码和测试中现有的 closure 序列化处理。确认范围仅涉及使用 First Class Callable syntax 创建的 fake closures;完成的标准是这些 closures 可以被序列化,而不意味着支持任意 closures。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100