3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cha12 = array(); $cha1_count = 3; $cha2_count = 3; $cha12[0][0] = 3; $cha12[0][1] = 6; $cha12[0][2] = 2; $cha12[1][0] = 4; $cha12[1][1] = 5; $cha12[1][2] = 3; $cha12[2][0] = 2; $cha12[2][1] = 2; $cha12[2][2] = 8; $fcount = 0; $fcount_array = array(); echo "ss"; /*for($count1=0;$count1<$cha1_count;$count1++){ for($count2=0;$count2<$cha2_count;$count2++){ if($fcount == 0){ $fcount_array[$fcount] = $cha12[$count1][$count2]; $fcount++; } else { for($fc=0;$fc<$fcount;$fc++){ if($fcount_array[$fc] == $cha12[$count1][$count2]) continue 2; } $fcount_array[$fcount] = $cha12[$count1][$count2]; $fcount++; } } } print_r($fcount_array); */ //$cm: cha1とcha2の短い方の値 //$nc: 現在足している要素の数 //$sum: 合計 /*function loop($cm,$nc){ if($nc > $cm){ $sum = -1; } else { */ ?>
Output for git.master, git.master_jit, rfc.property-hooks
ss

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