lchown

PHP 5 >= 5.1.3, PHP 7, PHP 8
lchown - Changes user ownership of symlink
Manual
Code Examples

Example #1 Changing the owner of a symbolic link

PHP Version: