xref: /php-uv/tests/320-fs-readlink.phpt (revision e76ac0dc)
1--TEST--
2uv_fs_readlink() segfaults if file not a link
3--FILE--
4<?php
5
6$uv = uv_loop_new();
7
8uv_fs_readlink($uv, __FILE__, function ($result) {
9    var_dump($result < 0);
10});
11
12uv_run($uv);
13
14?>
15--EXPECT--
16bool(true)
17