php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80300 add "unlink" in "see also" section
Submitted: 2020-10-31 11:05 UTC Modified: 2020-11-03 09:58 UTC
From: pfrappe at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *Directory/Filesystem functions
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2020-10-31 11:05 UTC] pfrappe at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.is-link (and symlink, link, linkinfo, readlink)
---
In "see also" section, you should add "unlink"
Best regards
Pierre Frappé


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-31 14:08 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-31 14:08 UTC] cmb@php.net
> In "see also" section, you should add "unlink"

Why?  unlink() is not particularly related to symlink and/or
hardlinks.
 [2020-10-31 16:19 UTC] pfrappe at gmail dot com
-Status: Feedback +Status: Assigned
 [2020-10-31 16:19 UTC] pfrappe at gmail dot com
It appears (?) unlink is the unique way to replace the link of a symlink : unlink followed by a new symlink ?
Is that right ?
Regards
Pierre Frappé
 [2020-11-03 09:58 UTC] cmb@php.net
> It appears (?) unlink is the unique way to replace the link of a
> symlink : unlink followed by a new symlink ?

Yes.  Existing links won't be overwritten by link() or symlink().
 [2020-11-03 10:00 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=46a0d3708e3c428ad8fa2e1dd38e4755863dc5c2
Log: Fix #80300: add "unlink" in "see also" section
 [2020-11-03 10:00 UTC] phpdocbot@php.net
-Status: Assigned +Status: Closed
 [2020-11-03 10:55 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=2507167c88dd8d2a4ecb6ba78420e0b0f3bb5b3b
Log: Fix #80300: add "unlink" in "see also" section
 [2020-11-03 10:55 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=2dd63e02acf3c03c67a4a5449e1da1c1266acb07
Log: Remove obsolete info regarding Vista/2008 / Fix #80300: add "unlink" in "see also" section
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=7838adc1372e26c6e0b41ab4858cb2eb46012b36
Log: Fix #80300: add "unlink" in "see also" section
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=0789b1906938dd0052a90d348f58663276a19580
Log: Remove obsolete info regarding Vista/2008 / Fix #80300: add "unlink" in "see also" section
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC