3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nb_lots_per_day = array( '1' => 6, '2' => 0, '3' => 0, '4' => 0, '5' => 5, '6' => 0, '7' => 0, '8' => 0, '9' => 0, '10' => 0, '11' => 6, '12' => 0, '13' => 0, '14' => 0, '15' => 0, '16' => 0, '17' => 0, '18' => 6, '19' => 5, '20' => 0, '21' => 0, '22' => 0, '23' => 5, '24' => 0, '25' => 0, '26' => 0, '27' => 10, '28' => 0, '29' => 0, '30' => 0, '31' => 0 ); $nb_lots = $nb_lots_per_day[(int)(date('j'))]; var_dump($nb_lots);
Output for git.master, git.master_jit, rfc.property-hooks
int(0)

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:
65.72 ms | 401 KiB | 8 Q