Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test 007: Actually use WeakRef instead of an array
(which I used for testing whether the problem lies in WeakRef)
  • Loading branch information
Jille committed Apr 13, 2012
1 parent b725d14 commit 5d44068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/weakref_007.phpt
Expand Up @@ -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() {
Expand Down

0 comments on commit 5d44068

Please sign in to comment.