3v4l.org

run code in 300+ PHP versions simultaneously
<?php function cmp($a, $b) { $v = floatval($a) - floatval($b); return ($v == 0) ? 0 : (($v < 0) ? -1 : 1); } $kasa1[0]="5:franek"; $kasa1[1]="54:franek1"; $kasa1[2]="25:franek2"; $kasa1[3]="42:franek3"; $kasa1[4]="65:franek4"; $asd=count($kasa1); for ($i = 0; $i < $asd; $i++) { echo $kasa1[$i].'/n'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
5:franek/n54:franek1/n25:franek2/n42:franek3/n65:franek4/n

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