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

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0040.01118.15
8.3.50.0110.00418.34
8.3.40.0150.00018.71
8.3.30.0060.00918.71
8.3.20.0070.00322.07
8.3.10.0040.00420.29
8.3.00.0040.00423.71
8.2.180.0150.00418.23
8.2.170.0090.00622.96
8.2.160.0100.00320.52
8.2.150.0070.00224.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00326.16
8.2.110.0030.00620.52
8.2.100.0060.00617.84
8.2.90.0040.00417.84
8.2.80.0040.00418.05
8.2.70.0000.00817.93
8.2.60.0030.00618.22
8.2.50.0050.00318.10
8.2.40.0000.00819.98
8.2.30.0040.00418.19
8.2.20.0090.00018.00
8.2.10.0040.00419.31
8.2.00.0000.00819.21
8.1.280.0090.00625.92
8.1.270.0080.00020.76
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0050.00523.75
8.1.230.0080.00321.04
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00918.22
8.1.160.0000.00718.89
8.1.150.0040.00418.89
8.1.140.0000.00720.80
8.1.130.0050.00320.10
8.1.120.0070.00017.40
8.1.110.0000.00817.34
8.1.100.0000.00717.36
8.1.90.0000.00817.38
8.1.80.0070.00017.34
8.1.70.0070.00317.45
8.1.60.0000.00817.59
8.1.50.0040.00417.46
8.1.40.0090.00017.50
8.1.30.0050.00317.50
8.1.20.0050.00317.53
8.1.10.0060.00317.64
8.1.00.0000.01017.36
8.0.300.0070.00019.60
8.0.290.0000.00816.63
8.0.280.0040.00418.44
8.0.270.0000.00717.14
8.0.260.0030.00320.07
8.0.250.0000.00716.98
8.0.240.0050.00316.88
8.0.230.0000.00716.84
8.0.220.0030.00316.93
8.0.210.0030.00316.89
8.0.200.0060.00316.96
8.0.190.0040.00416.93
8.0.180.0060.00316.89
8.0.170.0030.00616.79
8.0.160.0040.00416.95
8.0.150.0050.00316.78
8.0.140.0040.00416.83
8.0.130.0000.00513.33
8.0.120.0040.00416.88
8.0.110.0040.00416.93
8.0.100.0030.00316.75
8.0.90.0000.00716.73
8.0.80.0070.00916.81
8.0.70.0050.00316.72
8.0.60.0030.00516.67
8.0.50.0000.00716.75
8.0.30.0130.00817.11
8.0.20.0180.00217.24
8.0.10.0060.00317.02
8.0.00.0100.01116.76
7.4.330.0000.00515.55
7.4.320.0000.00616.49
7.4.300.0030.00316.61
7.4.290.0000.00716.51
7.4.280.0040.00416.49
7.4.270.0080.00016.51
7.4.260.0050.00013.30
7.4.250.0040.00416.61
7.4.240.0080.00016.54
7.4.230.0040.00416.67
7.4.220.0020.00516.47
7.4.210.0060.00916.58
7.4.200.0070.00016.35
7.4.130.0160.00316.50
7.4.120.0100.00716.55
7.4.110.0070.01016.51
7.4.100.0070.01416.56
7.4.90.0100.00716.47
7.4.80.0160.00319.39
7.4.70.0090.00616.68
7.4.60.0060.01016.55
7.4.50.0000.01516.50
7.4.40.0030.01316.50
7.4.00.0020.01715.07
7.3.330.0050.00216.40
7.3.320.0030.00313.23
7.3.310.0030.00316.32
7.3.300.0030.00316.35
7.3.290.0040.01216.35
7.3.280.0100.00716.37
7.3.260.0090.01416.41
7.3.240.0080.00916.53
7.3.230.0090.00816.32
7.3.210.0160.00316.28
7.3.200.0070.01016.50
7.3.190.0110.00816.58
7.3.180.0090.00616.34
7.3.170.0150.00616.59
7.3.160.0090.01116.42
7.3.120.0030.01014.71
7.3.110.0130.00314.89
7.3.100.0070.00714.90
7.3.90.0100.00714.89
7.3.80.0100.00514.71
7.3.70.0030.00914.76
7.3.60.0110.00314.90
7.3.50.0090.00714.62
7.3.40.0070.00414.59
7.3.30.0080.00714.90
7.3.20.0100.00516.61
7.3.10.0050.00816.43
7.3.00.0080.00716.63
7.2.330.0170.00716.55
7.2.320.0080.01116.45
7.2.310.0100.00616.87
7.2.300.0070.01016.78
7.2.290.0090.00916.95
7.2.250.0110.00815.30
7.2.240.0120.00615.16
7.2.230.0120.00315.03
7.2.220.0070.00715.06
7.2.210.0060.00814.94
7.2.200.0100.00614.96
7.2.190.0060.00914.98
7.2.180.0050.01115.02
7.2.170.0090.00414.96
7.2.160.0120.00414.80
7.2.150.0040.01116.66
7.2.140.0060.00616.85
7.2.130.0040.01216.52
7.2.120.0040.00816.48
7.2.110.0080.00416.56
7.2.100.0060.01116.47
7.2.90.0030.00916.83
7.2.80.0060.00616.61
7.2.70.0100.00516.75
7.2.60.0030.00916.82
7.2.50.0100.00716.43
7.2.40.0110.00416.97
7.2.30.0060.00916.84
7.2.20.0080.00816.61
7.2.10.0070.00716.49
7.2.00.0040.00916.76
7.1.330.0000.01815.90
7.1.320.0070.00715.95
7.1.310.0080.00515.74
7.1.300.0110.00515.81
7.1.290.0060.00515.69
7.1.280.0130.00315.76
7.1.270.0100.00415.73
7.1.260.0100.00515.73
7.1.250.0040.00715.77

preferences:
34.82 ms | 400 KiB | 5 Q