mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
23 lines
252 B
PHP
23 lines
252 B
PHP
--TEST--
|
|
uv_fs_readlink() segfaults if file not a link
|
|
--FILE--
|
|
<?php
|
|
|
|
$uv = uv_loop_new();
|
|
|
|
uv_fs_readlink($uv, __FILE__, function () {
|
|
var_dump(func_get_args());
|
|
});
|
|
|
|
uv_run($uv);
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
[0]=>
|
|
bool(false)
|
|
[1]=>
|
|
NULL
|
|
}
|
|
|