Permalink
Browse files

Merge pull request #6 from Jille/master

test 007: Actually use WeakRef instead of an array
  • Loading branch information...
colder committed Apr 13, 2012
2 parents b725d14 + 5d44068 commit 2c4b3bab8563fd7908778fcfc22e67c5976f8751
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/weakref_007.phpt
View
@@ -13,7 +13,7 @@ Weakref: Destroying the weakref and its object after a fatal error
public $ref;
function __construct($a) {
- $this->ref = array($a);
+ $this->ref = new WeakRef($a);
}
function __destruct() {

0 comments on commit 2c4b3ba

Please sign in to comment.