https://bugzilla.wikimedia.org/show_bug.cgi?id=65698

--- Comment #2 from Ori Livneh <[email protected]> ---
I don't think this is too mysterious. Claims.php has the following code
(L432-434):

    assert( $oldClaim instanceof Claim );
    assert( $newClaim instanceof Claim );
    assert( $oldClaim->getGuid() === $newClaim->getGuid() );

The expectation was presumably that if either $oldClaim or $newClaim are null,
the final assert would never get executed. That isn't the case.

I do note that HHVM and PHP have somewhat different assert settings at the
moment:

    PHP
    ~~~
    option                  ini_get()               assert_options()
    **********************************************************************
    assert.active           "1"                     1
    assert.warning          "1"                     1
    assert.bail             "0"                     0
    assert.quiet_eval       "0"                     0


    HHVM
    ~~~~
    option                  ini_get()               assert_options()
    **********************************************************************
    assert.active           ""                      0
    assert.warning          ""                      0
    assert.bail             ""                      0
    assert.quiet_eval       ""                      false


I'll see if I can get them to match.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to