Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

test 007: Actually use WeakRef instead of an array #6

Merged
merged 1 commit into from

2 participants

@Jille

Which I used for testing whether the problem lies in WeakRef

@Jille Jille test 007: Actually use WeakRef instead of an array
(which I used for testing whether the problem lies in WeakRef)
5d44068
@colder colder merged commit 2c4b3ba into from
@colder
Owner

I don't have pcntl installed on my dev box, but can you confirm that this test now passes?

Best,

@Jille

It doesn't pass.. It still segfaults..

pcntl is only used too catch the exit-signal in the automated test-framework so if you just call doit() instead of forking and check the exit-code of the process.

@colder
Owner

Ok, I will install pcntl then

@colder
Owner

It should be fixed now.

@Jille

You're the best. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 13, 2012
  1. @Jille

    test 007: Actually use WeakRef instead of an array

    Jille authored
    (which I used for testing whether the problem lies in WeakRef)
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/weakref_007.phpt
View
2  tests/weakref_007.phpt
@@ -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() {
Something went wrong with that request. Please try again.