<?php $items = [1, 4, 0, 8, 2, 0, 3, 0]; $x = 0; $newItems = array_diff($items, [$x]); var_dump($newItems);
You have javascript disabled. You will not be able to edit any code.