3v4l.org

run code in 300+ PHP versions simultaneously
<?php $set_of_numbers = "1,2,4,5,9"; $numbers = explode(",", $set_of_numbers); $range = range(1,12); $numbers_to_output = array_diff($range, $numbers); // [3,6,7,8,10,11,12] foreach($numbers_to_output as $n){ echo '<option value='.$n.'>'.$n."</option>\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
<option value=3>3</option> <option value=6>6</option> <option value=7>7</option> <option value=8>8</option> <option value=10>10</option> <option value=11>11</option> <option value=12>12</option>

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:
27.79 ms | 405 KiB | 5 Q