3v4l.org

run code in 300+ PHP versions simultaneously
<?php // vraag de week op als nummer $week = date('W'); // je wilt alleen de even weken tonen, dus bij oneven er 1 bij doen if($week % 2 == 1) { $week = $week + 1; } // wellicht overbodig, maar uit veiligheid altijd doen if($week < 1 OR $week > 52) { $week = 52; } // echo de HTML echo '<img scr="banner/week'.$week.'.jpg" alt="Banner met logo of zoiets">'; ?>
Output for git.master, git.master_jit, rfc.property-hooks
<img scr="banner/week44.jpg" alt="Banner met logo of zoiets">

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