mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
16 lines
222 B
PHP
16 lines
222 B
PHP
--TEST--
|
|
Check for uv_prepare
|
|
--FILE--
|
|
<?php
|
|
$loop = uv_default_loop();
|
|
$prepare = uv_prepare_init($loop);
|
|
|
|
uv_prepare_start($prepare, function($rsc) {
|
|
echo "Hello";
|
|
uv_unref($rsc);
|
|
});
|
|
|
|
uv_run();
|
|
--EXPECT--
|
|
Hello
|