mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-03-24 17:02:15 +01:00
296 B
296 B
引用类型
在 PHP 中是支持传引用的,在 Python 中可以包裹为一个 phpy.Reference 对象实现。
示例
import phpy
errno = phpy.Reference()
errstr = phpy.Reference()
rs = phpy.call("stream_socket_client", 'tcp://127.0.0.1:9999', errno, errstr, 30)