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?

星空释爱星空释爱2490 days ago1492

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-08-18 16:15:39

    php的对象与数组的处理差别不大

    reply
    0
  • PHP中文网

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

    使用unset吧亲  delete没用过。

    reply
    0
  • Cancelreply