3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Some parsing goes on here, ending up with following variables $hRowCount = 3; $vRowCount = 8; $resultId = 3; $output = "Given result ID => " . $resultId; $output .= "\n\nVertical question => " . (int) ($resultId / $hRowCount); $output .= "\nHorizontal question => " . $resultId % $hRowCount; echo $output;
Output for git.master, git.master_jit, rfc.property-hooks
Given result ID => 3 Vertical question => 1 Horizontal question => 0

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