diff --git a/examples/idle.php b/examples/idle.php new file mode 100644 index 0000000..76a02a9 --- /dev/null +++ b/examples/idle.php @@ -0,0 +1,19 @@ + 3) { + uv_idle_stop($idle); + uv_unref($loop); + } + sleep(1); +}); + +uv_run(); + +echo "finished"; diff --git a/examples/request.php b/examples/request.php new file mode 100644 index 0000000..4225467 --- /dev/null +++ b/examples/request.php @@ -0,0 +1,25 @@ +