Update README.md

This commit is contained in:
Chris Wright 2016-10-27 15:42:28 +01:00 committed by GitHub
parent 2f34c3dc02
commit 6edd68ad77

View File

@ -11,6 +11,8 @@ or move to extension all together so do not rely to much on them you have been w
# Install
## \*nix
````
git clone https://github.com/bwoebi/php-uv.git --recursive
cd php-uv
@ -21,6 +23,10 @@ make install
# add `extension=uv.so` to your php.ini
````
## Windows
Windows builds for PHP 7.0 and PHP 7.1 are available [here](http://dl.daverandom.com/php-uv/).
# Examples
see examples and tests directory.
@ -2839,11 +2845,8 @@ $poll = uv_poll_init(uv_default_loop(), $fd);
##### *Note*
* if you want to use a socket. please use uv_poll_init_socket instead of this. Windows can't handle socket with this function.
* some platform doesn't support file descriptor on these method.
### uv uv_poll_init_socket([resource $uv_loop], zval fd)
### uv uv_poll_start(resource $handle, $events, $callback)