* PHP-7.4:
Skip test if SeCreateSymbolicLinkPrivilege is not given
--TEST--
Test lstat() and stat() functions: usage variations - link names stored in array/object
+ --SKIPIF--
+ <?php
+ if (PHP_OS_FAMILY === 'Windows') {
+ include_once __DIR__ . '/windows_links/common.inc';
+ skipIfSeCreateSymbolicLinkPrivilegeIsDisabled(__FILE__);
+ }
+ ?>
--FILE--
<?php
-/* Prototype: array lstat ( string $filename );
- Description: Gives information about a file or symbolic link
-
- Prototype: array stat ( string $filename );
- Description: Gives information about a file
-*/
-
/* test for stats of link when their names are stored in object and array */
$file_path = __DIR__;