3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '20'; if($price_check > '0' || $filter='0') if($price_check > '500' || $filter='20-50') if($price_check > '200' || $filter='50-100') if($price_check > '100' || $filter='100-200') 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.0090.00616.50
8.3.50.0080.01222.05
8.3.40.0070.00718.80
8.3.30.0040.01119.10
8.3.20.0060.00320.21
8.3.10.0080.00021.73
8.3.00.0000.00817.99
8.2.180.0120.01216.63
8.2.170.0060.00922.96
8.2.160.0070.00720.46
8.2.150.0060.00324.18
8.2.140.0070.00724.66
8.2.130.0090.00926.16
8.2.120.0070.00019.71
8.2.110.0040.01222.19
8.2.100.0130.00319.54
8.2.90.0040.00419.08
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0120.00017.55
8.2.50.0050.00518.07
8.2.40.0000.00819.88
8.2.30.0000.01017.94
8.2.20.0050.00317.56
8.2.10.0000.00718.15
8.2.00.0030.00517.58
8.1.280.0060.00825.92
8.1.270.0000.00823.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0130.00323.96
8.1.230.0040.00719.05
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00518.53
8.1.160.0000.00722.01
8.1.150.0070.00018.84
8.1.140.0000.00717.42
8.1.130.0030.00317.81
8.1.120.0030.00717.35
8.1.110.0000.00717.49
8.1.100.0070.00017.45
8.1.90.0000.00717.35
8.1.80.0040.00417.31
8.1.70.0000.00717.45
8.1.60.0070.00017.50
8.1.50.0060.00317.50
8.1.40.0030.00517.48
8.1.30.0000.00817.53
8.1.20.0040.00417.66
8.1.10.0070.00017.48
8.1.00.0000.00717.40
8.0.300.0080.00018.77
8.0.290.0000.00716.58
8.0.280.0030.00318.48
8.0.270.0070.00017.26
8.0.260.0030.00317.15
8.0.250.0040.00416.95
8.0.240.0030.00316.99
8.0.230.0030.00316.84
8.0.220.0040.00416.85
8.0.210.0030.00316.87
8.0.200.0000.00616.86
8.0.190.0040.00416.89
8.0.180.0070.00016.93
8.0.170.0000.00816.81
8.0.160.0000.00816.87
8.0.150.0030.00316.87
8.0.140.0000.00716.90
8.0.130.0070.00013.37
8.0.120.0000.00716.73
8.0.110.0070.00016.95
8.0.100.0040.00416.93
8.0.90.0000.00716.71
8.0.80.0130.00316.86
8.0.70.0000.00716.88
8.0.60.0050.00316.80
8.0.50.0070.00016.79
8.0.30.0090.00917.25
8.0.20.0110.00917.40
8.0.10.0070.00017.07
8.0.00.0130.00516.74
7.4.330.0050.00015.09
7.4.320.0000.00616.50
7.4.300.0030.00316.50
7.4.290.0070.00016.52
7.4.280.0040.00416.43
7.4.270.0030.00316.62
7.4.260.0070.00016.50
7.4.250.0000.00716.45
7.4.240.0000.00716.58
7.4.230.0030.00316.60
7.4.220.0120.00616.70
7.4.210.0060.00616.68
7.4.200.0070.00016.51
7.4.160.0070.00916.32
7.4.150.0070.01717.40
7.4.140.0120.00517.86
7.4.130.0120.00516.40
7.4.120.0070.01216.42
7.4.110.0090.00916.57
7.4.100.0100.01416.40
7.4.90.0070.01016.59
7.4.80.0050.01519.39
7.4.70.0080.00816.53
7.4.60.0100.00716.66
7.4.50.0040.00416.35
7.4.40.0100.00716.52
7.4.30.0090.00616.36
7.4.00.0060.01114.88
7.3.330.0030.00313.04
7.3.320.0030.00313.03
7.3.310.0030.00316.26
7.3.300.0000.00616.13
7.3.290.0060.00916.23
7.3.280.0080.00816.21
7.3.270.0060.01117.40
7.3.260.0120.01216.62
7.3.250.0140.00816.43
7.3.240.0140.00416.25
7.3.230.0110.00516.39
7.3.210.0130.00316.47
7.3.200.0150.00719.39
7.3.190.0100.00716.50
7.3.180.0060.00916.43
7.3.170.0100.01016.27
7.3.160.0130.00316.31
7.3.120.0030.01314.53
7.3.110.0080.00214.49
7.3.100.0040.00814.39
7.3.90.0100.00314.80
7.3.80.0000.01114.70
7.3.70.0040.00714.72
7.3.60.0100.00714.40
7.3.50.0080.00414.90
7.3.40.0030.01014.59
7.3.30.0040.00414.91
7.3.20.0070.00716.63
7.3.10.0030.00516.62
7.3.00.0040.00816.59
7.2.330.0140.00416.71
7.2.320.0080.00816.61
7.2.310.0130.00616.61
7.2.300.0070.01116.57
7.2.290.0060.00916.59
7.2.240.0100.00714.90
7.2.230.0000.01114.91
7.2.220.0000.01614.80
7.2.210.0090.00315.21
7.2.200.0080.01114.90
7.2.190.0060.00614.73
7.2.180.0070.00714.80
7.2.170.0030.01314.67
7.2.160.0060.00915.07
7.2.150.0000.00916.98
7.2.140.0050.00516.70
7.2.130.0090.00616.90
7.2.120.0070.00316.70
7.2.110.0030.00616.59
7.2.100.0030.00616.82
7.2.90.0000.01416.68
7.2.80.0120.00516.49
7.2.70.0000.01517.01
7.2.60.0040.01117.04
7.2.50.0060.00616.75
7.2.40.0070.00716.84
7.2.30.0070.00716.69
7.2.20.0070.00716.58
7.2.10.0070.00716.30
7.2.00.0060.00916.82
7.1.330.0060.00615.49
7.1.320.0000.00815.55
7.1.310.0040.00815.50
7.1.300.0080.00815.65
7.1.290.0060.00315.71
7.1.280.0120.00315.68
7.1.270.0070.00315.66
7.1.260.0030.01015.73
7.1.250.0080.00815.93
7.1.200.0030.00615.45
7.1.70.0030.00717.02
7.1.60.0030.01019.25
7.1.50.0120.00616.59
7.1.00.0000.08022.31
7.0.200.0030.00316.52
7.0.140.0030.07022.04
7.0.60.0000.04320.05
7.0.50.0030.04017.85
7.0.40.0070.04320.23
7.0.30.0270.04319.95
7.0.20.0330.05320.16
7.0.10.0070.08320.33
7.0.00.0130.04720.09
5.6.280.0000.07321.04
5.6.210.0070.04720.68
5.6.200.0030.08718.15
5.6.190.0070.08320.67
5.6.180.0470.06720.43
5.6.170.0270.07720.71
5.6.160.0000.05720.50
5.6.150.0070.08018.17
5.6.140.0030.05018.12
5.6.130.0070.07018.18
5.6.120.0130.08021.11
5.6.110.0230.06720.95
5.6.100.0130.07021.13
5.6.90.0070.04020.87
5.6.80.0130.06720.35
5.5.350.0830.07020.37
5.5.340.0070.08317.95
5.5.330.0130.07320.07
5.5.320.0030.08320.28
5.5.310.0270.04720.26
5.5.300.0000.04317.95
5.5.290.0030.04317.89
5.5.280.0130.08020.88
5.5.270.0370.05720.66
5.5.260.0130.07720.75
5.5.250.0200.07020.48
5.5.240.0130.08020.26
5.4.450.3430.03719.49
5.4.440.3570.04019.54
5.4.430.3470.06019.44
5.4.420.3270.04719.45
5.4.410.0100.06319.35
5.4.400.4300.03318.89
5.4.390.3670.04019.24
5.4.380.3070.04019.09
5.4.370.3630.03719.25
5.4.360.3700.03718.92
5.4.350.1900.04018.80
5.4.340.3070.03719.13
5.4.320.3530.03318.80
5.4.310.3500.04019.08
5.4.300.3470.03718.80
5.4.290.3170.03019.06
5.4.280.3630.03719.09
5.4.270.3570.04318.92
5.4.260.3730.03719.20
5.4.250.3800.04019.12
5.4.240.4130.03719.23
5.4.230.4030.03719.24
5.4.220.3600.04319.15
5.4.210.3770.03719.13
5.4.200.3700.04319.21
5.4.190.3630.04018.89
5.4.180.3500.03318.77
5.4.170.4200.04019.13
5.4.160.4430.03718.82
5.4.150.3930.04018.80
5.4.140.3700.03316.43
5.4.130.3470.04016.35
5.4.120.3700.03316.44
5.4.110.3370.03716.39
5.4.100.3670.03316.36
5.4.90.3730.03316.42
5.4.80.3700.03316.19
5.4.70.3670.03016.37
5.4.60.3700.03316.43
5.4.50.3600.04016.41
5.4.40.3500.03316.41
5.4.30.3370.04016.04
5.4.20.3470.03016.04
5.4.10.3430.03316.36
5.4.00.3400.03315.65
5.3.290.3500.04014.61
5.3.280.3570.03314.54
5.3.270.4500.03314.65
5.3.260.4400.03714.58
5.3.250.3730.04014.48
5.3.240.3770.04014.63
5.3.230.3630.04014.43
5.3.220.3770.04014.43
5.3.210.3500.04014.49
5.3.200.3570.03314.40
5.3.190.3730.03714.42
5.3.180.3600.03714.42
5.3.170.3670.04014.40
5.3.160.3630.03714.51
5.3.150.3670.03714.40
5.3.140.3200.03014.41
5.3.130.3930.04714.39
5.3.120.3900.04314.41
5.3.110.3570.03714.49
5.3.100.3400.04013.89
5.3.90.3400.03713.95
5.3.80.3430.03013.99
5.3.70.3370.03713.87
5.3.60.3400.03313.95
5.3.50.3770.03313.97
5.3.40.3630.03313.82
5.3.30.3630.03313.75
5.3.20.3700.03013.60
5.3.10.3600.03013.56
5.3.00.3430.03013.58
5.2.170.3100.03011.15
5.2.160.3300.02711.00
5.2.150.3030.02711.24
5.2.140.3100.03011.05
5.2.130.3170.03010.95
5.2.120.3100.03311.19
5.2.110.3100.02311.14
5.2.100.3170.03010.95
5.2.90.3170.03310.96
5.2.80.3170.02710.94
5.2.70.2900.03011.14
5.2.60.3370.02310.88
5.2.50.3070.03310.84
5.2.40.2470.02310.83
5.2.30.2430.02311.02
5.2.20.2330.02310.86
5.2.10.2230.02710.88
5.2.00.2430.03010.66
5.1.60.2830.0209.96
5.1.50.2530.02310.08
5.1.40.2330.0209.86
5.1.30.2200.03010.44
5.1.20.2600.02310.31
5.1.10.2530.0309.99
5.1.00.2970.02310.07
5.0.50.1430.0208.63
5.0.40.1730.0208.33
5.0.30.1570.0338.30
5.0.20.1300.0308.25
5.0.10.1670.0208.25
5.0.00.1530.0308.13
4.4.90.1470.0175.90
4.4.80.1070.0235.90
4.4.70.1100.0175.90
4.4.60.1200.0135.90
4.4.50.1200.0205.90
4.4.40.1100.0275.90
4.4.30.1400.0105.90
4.4.20.1530.0175.90
4.4.10.1370.0175.90
4.4.00.1570.0275.90
4.3.110.1670.0205.90
4.3.100.1500.0175.90
4.3.90.1570.0175.90
4.3.80.1270.0235.90
4.3.70.1200.0135.90
4.3.60.1430.0175.90
4.3.50.1370.0175.90
4.3.40.1430.0175.90
4.3.30.0700.0205.90
4.3.20.0700.0275.90
4.3.10.0770.0205.90
4.3.00.0730.0135.90

preferences:
40.37 ms | 400 KiB | 5 Q