3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ "May Hello may", "Jun Hello12", "Jul 3" ]; $trans = [ 'Jan' => '01', 'Feb' => '02', 'Mar' => '03', 'Apr' => '04', 'May' => '05', 'Jun' => '06', 'Jul' => '07', 'Aug' => '08', 'Sep' => '09', 'Oct' => '10', 'Nov' => '11', 'Dec' => '12' ]; foreach ($arr as $v) { echo strtr($v, $trans) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
05 Hello may 06 Hello12 07 3

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:
27.94 ms | 405 KiB | 5 Q