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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 32 = ?
Subscribe to this entry?

 
 [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: Sat Apr 27 20:01:29 2024 UTC