3v4l.org

run code in 300+ PHP versions simultaneously
<?php $commaValues = '5773270,5778216'; $lubuvnaCommas = explode(',', $commaValues); $destinations = ''; foreach($lubuvnaCommas as $row){ // Concatenate current value with previous ones $destinations .= "<cl_id>".$row."</cl_id>"; } $xml =' <?xml version="1.0" encoding="UTF-8"?> <destinations> '.$destinations.' </destinations>'; echo $xml;
Output for git.master, git.master_jit, rfc.property-hooks
<?xml version="1.0" encoding="UTF-8"?> <destinations> <cl_id>5773270</cl_id><cl_id>5778216</cl_id> </destinations>

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