php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13161 make delete() as alias of unlink() and unset(), not as just dummy.
Submitted: 2001-09-05 22:37 UTC Modified: 2017-07-24 22:16 UTC
Votes:3
Avg. Score:3.0 ± 1.6
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: Keizi at mail dot co dot kr Assigned: kalle (profile)
Status: Closed Package: *General Issues
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
 [2001-09-05 22:37 UTC] Keizi at mail dot co dot kr
now search by function name, delete() appears.
it described: 'this is dummy. for searcher unlink() or unset()'.
and on PHP delete() really doesn't work.

what about to make it work delete()?, as alias.
if arg is file, unlink() refered.
or if var, unset() refered.


from [ke'izi] : where is [r]?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-06 10:57 UTC] sniper@php.net
reclassified
 [2001-09-06 12:27 UTC] hholzgra@php.net
what if argument is a variable containing a filename?
-> won't work this way 


 [2017-07-24 22:16 UTC] kalle@php.net
-Status: Suspended +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: kalle
 [2017-07-24 22:16 UTC] kalle@php.net
For any future readers, I propose to discuss this on internals@, tho I don't see a big point myself in adding another alias for some well known functions already (sorry but we generally hate aliases).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC