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
The array_udiff() / array_uintersect() / array_diff_uassoc() family is missing on the VM (#3129, #4285). When implemented, user compare callbacks must receive enum case objects, not backed scalars. Zend passes objects; coercing to 1/2 breaks identity comparisons and instanceof predicates.
Category
stdlibProblem
The
array_udiff()/array_uintersect()/array_diff_uassoc()family is missing on the VM (#3129, #4285). When implemented, user compare callbacks must receive enum case objects, not backed scalars. Zend passes objects; coercing to1/2breaks identity comparisons andinstanceofpredicates.php-src reference
ext/standard/array.c—php_array_udiff,php_array_uintersect,php_array_diff_uassocRepro (failure today: undefined function; spec for implementers)
array (0 => E::A)E::A,E::BobjectsCall to undefined function array_udiff()Scope (this repo)
ext/standard/array_udiff.php(and uintersect/uassoc siblings)lib/VM.phpDone when
array_udiffrepro returns one-element array withE::Aobjectget_debug_type($x) === 'E'inside comparator./script/ci-fast.sh --filter array_udiff_enumgreenRelated
array_udifffamilyarray_map/array_filterenum preservation