We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b842772 commit dc4f425Copy full SHA for dc4f425
ext/spl/tests/bug68825.phpt
@@ -1,5 +1,16 @@
1
--TEST--
2
Bug #68825 (Exception in DirectoryIterator::getLinkTarget())
3
+--SKIPIF--
4
+<?php
5
+if (PHP_OS_FAMILY === 'Windows') {
6
+ $fn = "bug68825.lnk";
7
+ $ret = exec("mklink $fn " . __FILE__ .' 2>&1', $out);
8
+ @unlink($fn);
9
+ if (strpos($ret, 'privilege')) {
10
+ die('skip. SeCreateSymbolicLinkPrivilege not enable for this user.');
11
+ }
12
+}
13
+?>
14
--FILE--
15
<?php
16
$dir = __DIR__ . '/bug68825';
0 commit comments