3v4l.org

run code in 300+ PHP versions simultaneously
<?php $starNumber = 3.5; $output =""; for($x=1;$x<=$starNumber;$x++) { $output .= '<i class="fa fa-star" aria-hidden="true"></i>' . "\n"; } if (strpos($starNumber,'.')) { $output .= '<i class="fa fa-star-half-o" aria-hidden="true"></i>' . "\n"; $x++; } while ($x<=5) { $output .= '<i class="fa fa-star-o" aria-hidden="true"></i>' . "\n"; $x++; } Echo $output;
Output for git.master_jit, git.master, rfc.property-hooks
<i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-half-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i>

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:
31.69 ms | 406 KiB | 5 Q