note 128404 added to function.symlink

From: Date: Tue, 18 Apr 2023 10:00:35 +0000
Subject: note 128404 added to function.symlink
Groups: php.notes 
Request: Send a blank email to php-notes+get-220359@lists.php.net to get a copy of this message
Something that is not documented is that this function checks whether the target file exists. Such behavior can be quite inconvenient if you want to create several symbolic links to locally mounted remote files, for example with Rclone. In this specific case this function can take 2 or even more seconds to finish. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 45.228.5.5) ---- Manual Page -- https://php.net/manual/en/function.symlink.php Edit -- https://main.php.net/note/edit/128404 Del: integrated -- https://main.php.net/note/delete/128404/integrated Del: useless -- https://main.php.net/note/delete/128404/useless Del: bad code -- https://main.php.net/note/delete/128404/bad+code Del: spam -- https://main.php.net/note/delete/128404/spam Del: non-english -- https://main.php.net/note/delete/128404/non-english Del: in docs -- https://main.php.net/note/delete/128404/in+docs Del: other reasons-- https://main.php.net/note/delete/128404 Reject -- https://main.php.net/note/reject/128404 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220359) next »