search

Home  >  Q&A  >  body text

functionunset()

The tutorial says: 3. Use the function unset() to destroy the variable, but the code demonstration uses var_dump();

Are unset() and var_dump() the same function?

Address: https://www.php.cn/code/985.html

RebeccaRebecca776 days ago1453

reply all(1)I'll reply

  • 王林

    王林2022-10-19 14:08:11

    The unset() function is used to destroy the specified variable. The var_dump() function used in the code demonstration is used to print the relevant information of the variable.

    reply
    0
  • Cancelreply