Can you unset() many variables at once in PHP?

前端 未结 4 1413
醉酒成梦
醉酒成梦 2020-12-11 15:04

I have a pretty high traffic social network site,
I would like to get into the habit of unsetting large array and mysql object and even some string variables.

S

4条回答
  •  旧时难觅i
    2020-12-11 15:30

    The PHP manual can be very handy. You can search for any built-in function and get a pretty detailed description of what that function does, etc. And the answer is yes, you can supply unset with as many variables as you want.

提交回复
热议问题