This change modifies the uv_fs_read() function signature slightly by adding
a new $offset parameter. This allows the same file handle to be reused for
multiple reads. Previously the only way to access a section of a file that
had already been read was to open a new handle.
Old:
uv_fs_read(resoruce $loop, zval $fd, long $length, callable $callback)
New:
uv_fs_read(resoruce $loop, zval $fd, long $offest, long $length, callable $callback)
This change represents a minor BC break for existing code using uv_fs_read().
some libuv functions requires threading feature.
you have to re-compile your PHPwith --enable-maintainer-zts if you want to use threading functions.
NOTE: thread feature runs new php vm another thread. current implementation doesn't copy current
executor globals. so you have to load bootstrap file (like composer's autoloader) manually.
Not exactly sure about the types, but I thought it would be great to describe all the parameters for uv_fs_write and uv_fs_stat, since I spent quite some time to figure out there was more than one parameter. I guess some people might get confused as well.