3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(0=>"Premier: 3/svart/XL ID:35235", 1=>"Premier: 3/vit/S ID:9999", 2=>"Premier: 1 ID:333"); foreach ($a as $b) { $list_premier = explode('ID',$b); $premier = trim(substr($list_premier[0],10)); $premier = str_replace( array(' ', '1' , '2', '3'), array(' + ', 'tygvƤska', 'chocklad', 't-shirt'), $premier ) ; echo $premier . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
/svart/XL /vit/S

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:
36.92 ms | 401 KiB | 8 Q