I found a strange error in in_array()
PHP function.
Next code returns TRUE
but it's wrong value. Anyone can told my what I do wrong?
<?php
var_dump(in_array(0, array('a', 'ab', 'abc')));
Live demo: http://sandbox.onlinephpfunctions.com/code/81013d156637fd06557b632f102d52f72d0f9d77
Of course I know that I can execute in_array(0, array('a', 'ab', 'abc'), true)
but why without this true
this function isn't working good.