3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'romain@ideveloppement.net, test@test.fr , rr,ez,'; var_dump(array_filter(array_map('trim',explode(',',$a))));
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(25) "romain@ideveloppement.net" [1]=> string(12) "test@test.fr" [2]=> string(2) "rr" [3]=> string(2) "ez" }