What will this script output?
<?php
$arr = [
'a' => 'apple',
'b' => 'banana',
'c' => 'cherry'
];
$keys = array_keys($arr);
if (in_array($keys, 'a')) {
echo "Found";
}
Warning: in_array() expects parameter 2 to be array
Correct:
Warning: in_array() expects parameter 2 to be array