run code in 300+ PHP versions simultaneously
<?php function pmGetTaxRate($date = false) { if(!$date){ $date = time(); } if(!is_numeric($date)){ $date = strtotime($date); } if($date >= strtotime('2020-07-01') && $date < strtotime('2021-01-01')){ return 16; } return 19; } echo (1 + pmGetTaxRate()/ 100);
based on UMTZ1

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch master

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