Jump to content

Vlades

New Members
  • Posts

    2
  • Joined

  • Last visited

Vlades's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I see, it is the only way? Is there any keyword that locks the object and does not allow it to clone?
  2. Hello, Is there any way to disallow the use of "clone " for an object? What I mean is, let's say I have a class named "user" I am able to clone the object ; $student = new user(); $teacher = clone $student; Is there any keyword that does not allow me to clone the "$student" object? Thank you in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.