mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
8 lines
186 B
PHP
8 lines
186 B
PHP
<?php
|
|
|
|
uv_fs_open(uv_default_loop(), __FILE__, UV::O_RDONLY, 0, function($read_fd) {
|
|
uv_fs_sendfile(uv_default_loop(), STDOUT, $read_fd, 0, 6, function($result) { });
|
|
});
|
|
|
|
uv_run();
|