Edit report at https://bugs.php.net/bug.php?id=48460&edit=1
ID: 48460
User updated by: ben at last dot fm
Reported by: ben at last dot fm
Summary:Referencing an object property causes behaviour
change after clone
-St
Edit report at https://bugs.php.net/bug.php?id=32100&edit=1
ID: 32100
Comment by: ben at last dot fm
Reported by:ceefour at gauldong dot net
Summary:Request 'finally' support for exceptions
Status: Closed
Type:
ID: 48460
User updated by: ben at last dot fm
Reported By: ben at last dot fm
Status: Open
Bug Type: Variables related
Operating System: Linux
PHP Version: 5.2.9
New Comment:
Hmm.
The bug is that you can alter the behaviour of clone (that is
ID: 48460
User updated by: ben at last dot fm
Reported By: ben at last dot fm
Status: Open
-Bug Type: Arrays related
+Bug Type: Variables related
Operating System: Linux
PHP Version: 5.2.9
New Comment:
Sorry, put this in the wrong category
ID: 48460
User updated by: ben at last dot fm
Reported By: ben at last dot fm
Status: Open
Bug Type: Arrays related
Operating System: Linux
PHP Version: 5.2.9
New Comment:
More minimal test case:
list = 1;
$b = clone $a;
$link =& $a->p
From: ben at last dot fm
Operating system: Linux
PHP version: 5.2.9
PHP Bug Type: Arrays related
Bug description: Referencing an object property causes behaviour change after
clone
Description:
If you create a reference to a property of an object, then clone