3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lang['01'] = 'Janeiro'; $lang['02'] = 'Fevereiro'; $lang['03'] = 'Março'; $lang['04'] = 'Abril'; $lang['05'] = 'Maio'; $lang['06'] = 'Junho'; $lang['07'] = 'Julho'; $lang['08'] = 'Agosto'; $lang['09'] = 'Setembro'; $lang['10'] = 'Outubro'; $lang['11'] = 'Novembro'; $lang['12'] = 'Dezembro'; $x = array(); $y = array_merge($x, $lang); var_dump($lang, $y);
Output for git.master, git.master_jit, rfc.property-hooks
array(12) { ["01"]=> string(7) "Janeiro" ["02"]=> string(9) "Fevereiro" ["03"]=> string(6) "Março" ["04"]=> string(5) "Abril" ["05"]=> string(4) "Maio" ["06"]=> string(5) "Junho" ["07"]=> string(5) "Julho" ["08"]=> string(6) "Agosto" ["09"]=> string(8) "Setembro" [10]=> string(7) "Outubro" [11]=> string(8) "Novembro" [12]=> string(8) "Dezembro" } array(12) { ["01"]=> string(7) "Janeiro" ["02"]=> string(9) "Fevereiro" ["03"]=> string(6) "Março" ["04"]=> string(5) "Abril" ["05"]=> string(4) "Maio" ["06"]=> string(5) "Junho" ["07"]=> string(5) "Julho" ["08"]=> string(6) "Agosto" ["09"]=> string(8) "Setembro" [0]=> string(7) "Outubro" [1]=> string(8) "Novembro" [2]=> string(8) "Dezembro" }

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


preferences:
41.81 ms | 403 KiB | 8 Q