Releases: swoole/phpy
Releases · swoole/phpy
1.0.6
1.0.5
中文
- 增加了 PyCore::fileno($fp) 用于获取 PHP Stream 的文件描述符,以转为 Python Socket 对象
- 增加了 PyCore::setOptions 修改设置内部选项的值
- 增加了 numeric_as_object 选项,可使对象调用返回值返回的数字类型,包括整数和浮点数作为 PyObject 对象
- 修复了默认字符集与
python-cli
存在差异的问题 - 修复了 PyFn 构造方法不可用的问题
- 修复了被 Python 引用后的资源类型、引用类型对象在 php-fpm 未在请求结束后销毁的问题
English
- Added PyCore::fileno($fp) to obtain the file descriptor of a PHP Stream for conversion to a Python Socket object
- Added PyCore::setOptions to modify the value of internal options
- Added numeric_as_object option, allowing numeric return types, including integers and floats, to be returned as PyObject objects
- Fixed the issue with the default character set differing from python-cli
- Fixed the issue where the PyFn constructor was not usable
- Fixed the issue where resource and reference type objects referenced by Python were not destroyed after the request ended in php-fpm