search

Home  >  Q&A  >  body text

delete

Delete in an array deletes the value of the element in the array, but delete in an object deletes the element or the value of the element?

星空释爱星空释爱2723 days ago1779

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-08-18 16:15:39

    There is not much difference in the processing of objects and arrays in php

    reply
    0
  • PHP中文网

    PHP中文网2017-08-18 13:45:59

    Use unset, dear, delete has never been used.

    reply
    0
  • Cancelreply