run code in 300+ PHP versions simultaneously
<?php $text = array(" Heureka.cz "," Heureka.cz "," Kosmetika a zdravĂ­ "," Kosmetika"); $bez_mezer = array_map('trim', array_filter($text)); var_dump($bez_mezer);
Output for git.master, git.master_jit
array(4) { [0]=> string(10) "Heureka.cz" [1]=> string(10) "Heureka.cz" [2]=> string(19) "Kosmetika a zdravĂ­" [3]=> string(9) "Kosmetika" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page

12.44 ms | 408 KiB | 5 Q