What's the difference between unset () and unlink ()? [closed]












0















I watch tutorial but i can't understand directly the discussion
can anyone help me?










share|improve this question













closed as off-topic by Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert Jan 10 at 10:15


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1





    I think you can find an answer more easy if you post this question on stackoverflow

    – AtomiX84
    Jan 10 at 8:09











  • thank you for your suggestion

    – Jersel Alabata
    Jan 10 at 8:10
















0















I watch tutorial but i can't understand directly the discussion
can anyone help me?










share|improve this question













closed as off-topic by Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert Jan 10 at 10:15


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1





    I think you can find an answer more easy if you post this question on stackoverflow

    – AtomiX84
    Jan 10 at 8:09











  • thank you for your suggestion

    – Jersel Alabata
    Jan 10 at 8:10














0












0








0


1






I watch tutorial but i can't understand directly the discussion
can anyone help me?










share|improve this question














I watch tutorial but i can't understand directly the discussion
can anyone help me?







php






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 10 at 8:07









Jersel AlabataJersel Alabata

65




65




closed as off-topic by Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert Jan 10 at 10:15


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert Jan 10 at 10:15


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Melebius, Sergiy Kolodyazhnyy, karel, Jos, N0rbert

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1





    I think you can find an answer more easy if you post this question on stackoverflow

    – AtomiX84
    Jan 10 at 8:09











  • thank you for your suggestion

    – Jersel Alabata
    Jan 10 at 8:10














  • 1





    I think you can find an answer more easy if you post this question on stackoverflow

    – AtomiX84
    Jan 10 at 8:09











  • thank you for your suggestion

    – Jersel Alabata
    Jan 10 at 8:10








1




1





I think you can find an answer more easy if you post this question on stackoverflow

– AtomiX84
Jan 10 at 8:09





I think you can find an answer more easy if you post this question on stackoverflow

– AtomiX84
Jan 10 at 8:09













thank you for your suggestion

– Jersel Alabata
Jan 10 at 8:10





thank you for your suggestion

– Jersel Alabata
Jan 10 at 8:10










1 Answer
1






active

oldest

votes


















0














In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.



unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.



    unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.






    share|improve this answer




























      0














      In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.



      unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.






      share|improve this answer


























        0












        0








        0







        In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.



        unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.






        share|improve this answer













        In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.



        unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset () is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 10 at 8:12









        Jersel AlabataJersel Alabata

        65




        65















            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕