Req #13161 [Sus->Csd]: make delete() as alias of unlink() and unset(), not as just dummy.

From: Date: Mon, 24 Jul 2017 22:16:57 +0000
Subject: Req #13161 [Sus->Csd]: make delete() as alias of unlink() and unset(), not as just dummy.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210302@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=13161&edit=1

 ID:                 13161
 Updated by:         kalle@php.net
 Reported by:        Keizi at mail dot co dot kr
 Summary:            make delete() as alias of unlink() and unset(), not
                     as just dummy.
-Status:             Suspended
+Status:             Closed
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   Linux
 PHP Version:        4.0.6
-Assigned To:        
+Assigned To:        kalle
 Block user comment: N
 Private report:     N

 New Comment:

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).


Previous Comments:
------------------------------------------------------------------------
[2001-09-06 12:27:39] hholzgra@php.net

what if argument is a variable containing a filename?
-> won't work this way 



------------------------------------------------------------------------
[2001-09-06 10:57:28] sniper@php.net

reclassified

------------------------------------------------------------------------
[2001-09-05 22:37:09] 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]?

------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=13161&edit=1


Thread (1 message)

  • kalle@php.net
  • Unknown Message
    • kalle@php.net
« previous php.bugs (#210302) next »