3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($type=='service'){ $pvals_arr = $_POST['prev_v']; $sr_id = $_POST['srid']; $pvals=''; foreach($pvals_arr as $pvals_val) $pvals.= $pvals_val.',' ; $pvals = trim($pvals, ','); $services_all = $database->readRows('tbl_services',' id,name ',' where status=1 and id not in('.$pvals.')');?> <!--<p class="dark-line">Address Details</p>--> <div style="height:70px;"> <select name="services_areas_<?=$sr_id?>"> <option value ="none">---select---</option> <?php for($id1=0;$id1<count($services_all);$id1++) {?> <option value="<?=$services_all[$id1]['id']?>"><?=$services_all[$id1]['name']?></option> <? }?> </select></div> <? } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Parse error: Unclosed '{' on line 15 in /in/9SY4O on line 19
Process exited with code 255.

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