3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '.1'; if($price_check > '0' || $filter='0'){ if($price_check > '500' || $filter='200-500'){$filter='501'; if($price_check > '200' || $filter='100-200'){ if($price_check > '100' || $filter='50-100'){ if($price_check > '50' || $filter='20-50'){ if($price_check > '20' || $filter='0-20'){ }}}}}} echo $filter;

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.0070.01118.55
8.3.50.0090.00722.05
8.3.40.0100.00318.57
8.3.30.0070.00719.09
8.3.20.0070.00020.33
8.3.10.0040.00421.73
8.3.00.0080.00017.80
8.2.180.0110.00816.37
8.2.170.0030.01322.96
8.2.160.0070.00720.47
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0040.00420.89
8.2.110.0060.00322.07
8.2.100.0040.00820.94
8.2.90.0040.00418.95
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0060.00617.92
8.2.50.0050.00318.07
8.2.40.0000.00918.22
8.2.30.0030.00617.98
8.2.20.0040.00417.68
8.2.10.0000.00718.18
8.2.00.0040.00417.73
8.1.280.0070.00725.92
8.1.270.0050.00323.86
8.1.260.0030.00326.35
8.1.250.0080.00028.09
8.1.240.0000.00923.93
8.1.230.0030.00719.16
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0000.00818.59
8.1.160.0000.00721.93
8.1.150.0000.00718.91
8.1.140.0060.00317.41
8.1.130.0080.00017.88
8.1.120.0030.00317.49
8.1.110.0030.00617.34
8.1.100.0000.00717.41
8.1.90.0050.00317.36
8.1.80.0040.00417.45
8.1.70.0030.00317.44
8.1.60.0060.00317.58
8.1.50.0080.00017.48
8.1.40.0030.00517.49
8.1.30.0000.00817.54
8.1.20.0040.00417.66
8.1.10.0050.00217.46
8.1.00.0050.00317.33
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0000.00718.50
8.0.270.0070.00017.18
8.0.260.0030.00318.45
8.0.250.0060.00016.93
8.0.240.0000.00716.92
8.0.230.0030.00316.86
8.0.220.0030.00516.91
8.0.210.0000.00716.76
8.0.200.0060.00016.82
8.0.190.0070.00016.85
8.0.180.0080.00016.85
8.0.170.0030.00516.96
8.0.160.0000.00716.85
8.0.150.0000.00816.74
8.0.140.0000.00716.88
8.0.130.0030.00313.31
8.0.120.0020.00516.90
8.0.110.0040.00416.95
8.0.100.0000.00716.92
8.0.90.0000.00716.71
8.0.80.0110.00416.91
8.0.70.0040.00316.93
8.0.60.0040.00416.88
8.0.50.0030.00616.88
8.0.30.0100.00817.05
8.0.20.0130.00717.40
8.0.10.0000.00717.07
8.0.00.0110.00816.82
7.4.330.0030.00315.09
7.4.320.0030.00316.41
7.4.300.0030.00316.49
7.4.290.0040.00416.61
7.4.280.0070.00016.40
7.4.270.0000.00716.61
7.4.260.0060.00316.46
7.4.250.0070.00016.56
7.4.240.0020.00516.60
7.4.230.0030.00316.44
7.4.220.0100.01716.63
7.4.210.0110.00416.54
7.4.200.0060.00316.54
7.4.160.0100.00716.52
7.4.150.0060.01217.40
7.4.140.0060.01017.86
7.4.130.0130.00316.54
7.4.120.0140.00316.49
7.4.110.0060.01216.50
7.4.100.0090.01216.55
7.4.90.0070.01016.60
7.4.80.0130.00719.39
7.4.70.0060.01216.61
7.4.60.0000.02116.40
7.4.50.0050.00016.50
7.4.40.0120.00616.36
7.4.30.0060.01516.43
7.4.00.0040.01114.65
7.3.330.0000.00613.05
7.3.320.0030.00312.92
7.3.310.0000.00716.07
7.3.300.0060.00016.20
7.3.290.0090.00616.26
7.3.280.0060.01316.19
7.3.270.0130.01317.40
7.3.260.0090.00916.37
7.3.250.0110.00616.33
7.3.240.0110.00616.19
7.3.230.0030.01316.48
7.3.210.0100.01016.29
7.3.200.0090.00619.39
7.3.190.0030.01416.16
7.3.180.0040.01116.40
7.3.170.0090.00616.27
7.3.160.0090.00616.46
7.3.120.0090.00614.74
7.3.10.0070.00316.59
7.3.00.0030.01316.50
7.2.330.0120.01116.33
7.2.320.0130.00716.76
7.2.310.0130.01116.57
7.2.300.0140.00316.63
7.2.290.0120.00616.63
7.2.130.0000.00816.94
7.2.120.0090.00616.95
7.2.110.0000.01116.85
7.2.100.0070.00316.96
7.2.90.0040.01116.62
7.2.80.0030.00816.93
7.2.70.0000.01216.96
7.2.60.0030.01017.03
7.2.50.0030.00617.00
7.2.40.0040.00816.72
7.2.30.0030.01116.81
7.2.20.0070.01016.67
7.2.10.0000.00916.84
7.2.00.0070.00716.84
7.1.250.0080.00315.96
7.1.70.0030.00716.95
7.1.60.0090.01519.25
7.1.50.0040.01816.88
7.1.00.0070.07322.34
7.0.200.0030.00616.64
7.0.140.0000.07722.09
7.0.60.0200.07721.80
7.0.50.0100.03717.80
7.0.40.0100.08719.96
7.0.30.0200.08320.04
7.0.20.0270.08320.00
7.0.10.0070.05020.16
7.0.00.0130.07720.09
5.6.210.0100.08020.66
5.6.200.0000.05018.12
5.6.190.0030.04720.60
5.6.180.0170.04320.27
5.6.170.0270.05020.33
5.6.160.0070.07320.61
5.6.150.0100.04718.17
5.6.140.0070.08018.17
5.6.130.0170.04718.11
5.6.120.0070.08321.14
5.6.110.0070.08721.01
5.6.100.0070.05321.04
5.6.90.0100.08720.99
5.6.80.0100.08020.37
5.5.350.0230.05320.38
5.5.340.0070.05717.89
5.5.330.0130.07720.40
5.5.320.0130.05020.13
5.5.310.0270.07720.20
5.5.300.0070.08717.98
5.5.290.0070.04017.97
5.5.280.0100.06720.89
5.5.270.0070.08720.95
5.5.260.0130.06720.86
5.5.250.0130.03020.76
5.5.240.0400.06320.25
5.4.450.3470.04019.38
5.4.440.0070.06719.48
5.4.430.2200.05719.18
5.4.420.3370.03719.33
5.4.410.4070.04319.04
5.4.400.3400.03719.11
5.4.390.3500.03719.10
5.4.380.4130.03018.97
5.4.370.1000.05719.15
5.4.360.4400.04319.06
5.4.350.4500.04319.04
5.4.340.4800.04019.00
5.4.320.3800.03719.04
5.4.310.3930.03719.06
5.4.300.4100.02718.84
5.4.290.4200.03719.23
5.4.280.4270.04019.08
5.4.270.3530.03319.12
5.4.260.3730.03719.04
5.4.250.2670.04019.04
5.4.240.1900.04318.98
5.4.230.3070.03719.15
5.4.220.2900.04319.14
5.4.210.2730.04019.00
5.4.200.2930.04018.82
5.4.190.3300.04719.03
5.4.180.3670.03018.82
5.4.170.3930.03718.82
5.4.160.3930.03019.13
5.4.150.3900.03319.11
5.4.140.4000.03016.34
5.4.130.3900.04016.23
5.4.120.3930.03316.38
5.4.110.4270.03316.54
5.4.100.3900.04016.38
5.4.90.4570.03716.22
5.4.80.4730.03316.55
5.4.70.4270.03316.16
5.4.60.4130.04016.55
5.4.50.3900.03716.32
5.4.40.3930.03716.46
5.4.30.3970.02716.35
5.4.20.4030.03316.13
5.4.10.4400.03716.32
5.4.00.4000.03715.74
5.3.290.4070.04014.63
5.3.280.3000.04014.57
5.3.270.2930.03714.53
5.3.260.4300.04014.53
5.3.250.3730.04314.48
5.3.240.4230.04314.54
5.3.230.3900.02714.52
5.3.220.4230.04014.37
5.3.210.4730.04014.46
5.3.200.3500.02714.49
5.3.190.4130.04014.49
5.3.180.4500.03014.49
5.3.170.4170.03714.50
5.3.160.4030.04014.58
5.3.150.4170.04014.48
5.3.140.4200.04014.48
5.3.130.3930.03314.45
5.3.120.4170.03714.42
5.3.110.4070.04714.64
5.3.100.3800.04013.96
5.3.90.3800.03313.94
5.3.80.4070.03313.84
5.3.70.3830.03713.83
5.3.60.4100.03013.84
5.3.50.3870.03313.87
5.3.40.4270.04313.88
5.3.30.3770.02313.84
5.3.20.4030.03313.67
5.3.10.4300.04013.60
5.3.00.3130.03313.56
5.2.170.3370.02710.96
5.2.160.3170.02711.09
5.2.150.3370.03310.98
5.2.140.3300.03010.99
5.2.130.3100.03010.98
5.2.120.3300.02711.09
5.2.110.2930.03011.03
5.2.100.2730.02710.92
5.2.90.2670.03011.03
5.2.80.2500.02311.03
5.2.70.3400.03311.04
5.2.60.3570.03310.87
5.2.50.3530.03011.00
5.2.40.2430.03010.81
5.2.30.2830.02711.12
5.2.20.2770.03010.77
5.2.10.2600.02710.88
5.2.00.3030.03010.86
5.1.60.3400.02010.06
5.1.50.2500.01710.03
5.1.40.2570.02710.05
5.1.30.2730.03010.38
5.1.20.2570.02710.37
5.1.10.2530.0279.90
5.1.00.2830.02310.04
5.0.50.1470.0208.69
5.0.40.1670.0278.36
5.0.30.1600.0338.21
5.0.20.0030.0178.16
5.0.10.0030.0338.14
5.0.00.0200.0378.12
4.4.90.1470.0175.85
4.4.80.1500.0135.81
4.4.70.1630.0175.85
4.4.60.1270.0205.78
4.4.50.1270.0175.82
4.4.40.1930.0275.81
4.4.30.1130.0175.78
4.4.20.1570.0175.85
4.4.10.1230.0175.92
4.4.00.1830.0275.82
4.3.110.0970.0205.73
4.3.100.1170.0175.72
4.3.90.0000.0375.79
4.3.80.0070.0475.76
4.3.70.0030.0335.73
4.3.60.0030.0235.69
4.3.50.0000.0275.75
4.3.40.0000.0335.70
4.3.30.0030.0305.50
4.3.20.0030.0205.50
4.3.10.0030.0235.50
4.3.00.1070.0135.50

preferences:
40.54 ms | 401 KiB | 5 Q