pecl-numbers-bitset icon indicating copy to clipboard operation
pecl-numbers-bitset copied to clipboard

Fix #63315: BitSet::fromArray may modify original array value

Open cmb69 opened this issue 5 years ago • 0 comments

We could prevent that modification by separating the array via ZPP, but actually there is no need for converting the zval to long; instead we use zval_get_long() what already caters to references. We also drop the now useless separation.

cmb69 avatar Dec 23 '20 14:12 cmb69