What potential complications can arise from using the & symbol in object instantiation in PHP?

Using the & symbol in object instantiation in PHP creates a reference to the object instead of creating a new instance. This can lead to unexpected behavior and potential bugs in your code. To avoid this issue, simply instantiate objects without using the & symbol.

// Incorrect way of instantiating an object with the & symbol
$object1 = new MyClass();
$object2 = &$object1;

// Correct way of instantiating an object without the & symbol
$object1 = new MyClass();
$object2 = new MyClass();