Permalink
Browse files

test 007: Actually use WeakRef instead of an array

(which I used for testing whether the problem lies in WeakRef)
  • Loading branch information...
1 parent b725d14 commit 5d44068f19426d1e8d9a8c2fc60ed5ae4d4e9f8a @Jille Jille committed Apr 13, 2012
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 5d44068

Please sign in to comment.