Closed kingwkb closed 3 years ago
fix options have 0 and null or empty in_array(0, [null]) in_array(0, ['']) in_array(0, ['0']) they are true
in_array('0', ['0']) => true in_array('0', [null]) => false in_array('0', ['']) => false
Hi @netojose! Could you please approve and merge this PR? Thanks :)
@pro2s , merged. You can use 3.0.5 version. Thanks!!!
fix options have 0 and null or empty in_array(0, [null]) in_array(0, ['']) in_array(0, ['0']) they are true
in_array('0', ['0']) => true in_array('0', [null]) => false in_array('0', ['']) => false