3v4l.org

run code in 300+ PHP versions simultaneously
<?php $selectedNumber = 75000; echo '<option value="0">Min Price</option>'; echo "\n"; // for the sake of demo readability foreach (range(25000, 200000, 25000) as $number) { printf( '<option value="%s"%s>%s</option>', $number, $number == $selectedNumber ? ' selected' : '', number_format($number) ); echo "\n"; // for the sake of demo readability }
Output for git.master, git.master_jit, rfc.property-hooks
<option value="0">Min Price</option> <option value="25000">25,000</option> <option value="50000">50,000</option> <option value="75000" selected>75,000</option> <option value="100000">100,000</option> <option value="125000">125,000</option> <option value="150000">150,000</option> <option value="175000">175,000</option> <option value="200000">200,000</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:
25.71 ms | 406 KiB | 5 Q