mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
17 lines
215 B
PHP
17 lines
215 B
PHP
--TEST--
|
|
uv_fs_readlink() segfaults if file not a link
|
|
--FILE--
|
|
<?php
|
|
|
|
$uv = uv_loop_new();
|
|
|
|
uv_fs_readlink($uv, __FILE__, function ($result) {
|
|
var_dump($result < 0);
|
|
});
|
|
|
|
uv_run($uv);
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|