← 문제 목록
중급 PHP 50P

array_filter 동작

다음 코드의 결과는?
PHP
$arr = [0, 1, '', 'hello', null, 2];
$filtered = array_filter($arr);
echo count($filtered);
1명 풀이 · 정답률 100%