Today we will see how we can easily remove any null value from an Array in PHP. For this we will use array_filter() function. And the important thing is we don't need any loop to complete the task. So lets see the example. Table Of Contents Example Output Example $data = array("Mehadi Hasan", "Hello User",