mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
10 lines
197 B
PHP
10 lines
197 B
PHP
<?php
|
|
|
|
uv_fs_open(uv_default_loop(), __FILE__, UV::O_RDONLY, 0, function($file) {
|
|
uv_fs_fstat(uv_default_loop(), $file, function($file, $stat) {
|
|
var_dump($stat);
|
|
});
|
|
});
|
|
|
|
uv_run();
|