mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
15 lines
222 B
PHP
15 lines
222 B
PHP
--TEST--
|
|
Check for uv_async
|
|
--FILE--
|
|
<?php
|
|
$loop = uv_default_loop();
|
|
$async = uv_async_init($loop, function($async, $status){
|
|
echo "Hello";
|
|
uv_close($async);
|
|
});
|
|
|
|
uv_async_send($async);
|
|
|
|
uv_run();
|
|
--EXPECT--
|
|
Hello |