3v4l.org

run code in 500+ PHP versions simultaneously
<?php $cur_year = date('Y'); $url = 'url_here'; for ($i=2020; $i<=$cur_year; $i++) { $active = ($cur_year == $i)?'active':''; echo '<a href="'.$url.'/'.$i.'" class="btn btn-default '.$active.'">'.$i.'</a>'; }
Output for git.master, git.master_jit, rfc.property-hooks
<a href="url_here/2020" class="btn btn-default ">2020</a><a href="url_here/2021" class="btn btn-default active">2021</a>

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:
54.71 ms | 1362 KiB | 4 Q