3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myArray = array ( 0 => 'Angiogram - $10,000', 1 => ' ', 2 => '', 3 => ' ', ); $myArray = array_filter($myArray, 'trim'); var_dump($myArray);
based on s9e3l
Output for 4.3.0 - 7.2.0
array(1) { [0]=> string(19) "Angiogram - $10,000" }