You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original PHP stores the variables and adds a reference to them so, when an object, array or resource is assigned to a new variable, instead of a clone, it's copied a reference to the real data. In this way, the references are easier to handle internally and the weird behaviour for unset is understood better.
At this moment the implementation for unset is not compatible when we use it with objects because we're not destroying the object.
The text was updated successfully, but these errors were encountered:
The original PHP stores the variables and adds a reference to them so, when an object, array or resource is assigned to a new variable, instead of a clone, it's copied a reference to the real data. In this way, the references are easier to handle internally and the weird behaviour for
unset
is understood better.At this moment the implementation for
unset
is not compatible when we use it with objects because we're not destroying the object.The text was updated successfully, but these errors were encountered: