Php/docs/function.eio-init

来自菜鸟教程
跳转至:导航、​搜索

eio_init

(PECL eio = 1.0.0)

eio_init(Re-)initialize Eio


说明

eio_init ( ) : void

eio_init() (re-)initializes Eio. It allocates memory for internal structures of libeio and Eio itself. You may call eio_init() before using Eio functions. Otherwise it will be called internally first time you invoke an Eio function in a process.

Warning 本过时特性肯定会在未来被移除。 Since Eio 1.1.0 'eio_init() is deprecated. In Eio 1.0.0 because of » libeios restrictions you must call eio_init() in child process, if you fork one by any means. You have to avoid using Eio in parent process, if you use it in childs.


参数

此函数没有参数。


返回值

没有返回值。