3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = 'en;nl;de;fr;br;ru;zh;es;pl;id;it;ro;ja;sv;ar'; $exploded = explode(';',$arr); var_dump($exploded);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.8
array(15) { [0]=> string(2) "en" [1]=> string(2) "nl" [2]=> string(2) "de" [3]=> string(2) "fr" [4]=> string(2) "br" [5]=> string(2) "ru" [6]=> string(2) "zh" [7]=> string(2) "es" [8]=> string(2) "pl" [9]=> string(2) "id" [10]=> string(2) "it" [11]=> string(2) "ro" [12]=> string(2) "ja" [13]=> string(2) "sv" [14]=> string(2) "ar" }