You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing map fields in PHP always returns true, regardless of the contents:
$mf1 = newMapField(GPBType::INT32, GPBType::INT32);
$mf2 = newMapField(GPBType::INT32, GPBType::INT32);
$mf2[0] = 1;
// This fails with PHP Extension (C implementation) but passes with PHP Module (pure-PHP implementation)$this->assertFalse($mf1 == $mf2);
This is only the case when using the C implementation. This should be considered as a bug because the pure-PHP and C implementations do not behave in the same way.
The text was updated successfully, but these errors were encountered:
This is a followup issue of #7650
Comparing map fields in PHP always returns true, regardless of the contents:
This is only the case when using the C implementation. This should be considered as a bug because the pure-PHP and C implementations do not behave in the same way.
The text was updated successfully, but these errors were encountered: