3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST['income']= 2; $income = $_REQUEST['income']; //Gross Income Overview function ovIncome($income) { //Check if Less Than or More Than if ($income == 0) { $wageVal = 'Less than € 30.984,- '; } elseif($income == 1) { $wageVal = 'More than € 30.984,- and same as € 61.200,-'; } else { $wageVal = 'More than € 30.984,-'; } echo "$wageVal"; } ovIncome($income);// caling function by passing variable as a parameter
Output for git.master, git.master_jit, rfc.property-hooks
More than € 30.984,-

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