3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '22'; 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='50-100') if($price_check < '20' || $filter='20-50') 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.00918.30
8.3.50.0070.00718.05
8.3.40.0120.00318.96
8.3.30.0030.01418.92
8.3.20.0080.00620.06
8.3.10.0070.00021.73
8.3.00.0050.00319.69
8.2.180.0090.00916.63
8.2.170.0170.00322.96
8.2.160.0100.00720.39
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.98
8.2.110.0030.00622.00
8.2.100.0120.00018.16
8.2.90.0070.00019.05
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0070.00318.04
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0070.00318.13
8.2.20.0040.00417.68
8.2.10.0070.00018.02
8.2.00.0030.00617.55
8.1.270.0040.01121.89
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.97
8.1.230.0000.01119.08
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0000.00818.59
8.1.160.0000.00722.02
8.1.150.0070.00018.88
8.1.140.0050.00317.45
8.1.130.0030.00317.79
8.1.120.0070.00017.41
8.1.110.0000.00717.42
8.1.100.0050.00317.34
8.1.90.0000.00717.44
8.1.80.0000.00817.45
8.1.70.0030.00317.41
8.1.60.0030.00517.59
8.1.50.0060.00317.51
8.1.40.0040.00417.50
8.1.30.0030.00517.65
8.1.20.0040.00417.57
8.1.10.0000.00817.48
8.1.00.0040.00417.32
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.43
8.0.270.0050.00317.26
8.0.260.0030.00317.25
8.0.250.0000.00716.91
8.0.240.0030.00316.93
8.0.230.0080.00016.97
8.0.220.0000.00716.95
8.0.210.0000.00816.89
8.0.200.0030.00316.98
8.0.190.0030.00316.86
8.0.180.0000.00716.93
8.0.170.0000.00716.82
8.0.160.0070.00016.84
8.0.150.0040.00416.71
8.0.140.0070.00016.84
8.0.130.0000.00613.28
8.0.120.0000.00716.87
8.0.110.0000.00816.86
8.0.100.0000.00716.88
8.0.90.0000.00816.93
8.0.80.0070.01016.86
8.0.70.0070.00016.95
8.0.60.0000.00716.82
8.0.50.0000.00716.71
8.0.30.0110.01117.10
8.0.20.0070.01217.42
8.0.10.0000.00716.86
8.0.00.0080.01116.86
7.4.330.0050.00015.14
7.4.320.0030.00316.52
7.4.300.0070.00016.64
7.4.290.0000.00716.60
7.4.280.0060.00316.39
7.4.270.0000.00716.54
7.4.260.0030.00316.57
7.4.250.0070.00016.57
7.4.240.0040.00416.44
7.4.230.0030.00316.47
7.4.220.0000.01716.53
7.4.210.0090.00616.45
7.4.200.0000.00716.63
7.4.160.0060.00916.42
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0110.00616.47
7.4.120.0100.00716.61
7.4.110.0100.00716.43
7.4.100.0120.00816.37
7.4.90.0080.00816.48
7.4.80.0110.01119.39
7.4.70.0080.00816.45
7.4.60.0070.01016.37
7.4.50.0050.00516.38
7.4.40.0140.00316.45
7.4.30.0090.00616.54
7.4.00.0060.01014.99
7.3.330.0060.00012.92
7.3.320.0000.00612.94
7.3.310.0020.00516.27
7.3.300.0030.00316.23
7.3.290.0070.00716.17
7.3.280.0070.01016.16
7.3.270.0090.00917.40
7.3.260.0100.00716.09
7.3.250.0140.00616.28
7.3.240.0090.01516.28
7.3.230.0150.00316.39
7.3.210.0090.01116.46
7.3.200.0110.00719.39
7.3.190.0090.01216.40
7.3.180.0040.01216.38
7.3.170.0080.00816.40
7.3.160.0030.01216.23
7.3.120.0000.01714.67
7.3.10.0070.00715.95
7.3.00.0030.00616.35
7.2.330.0200.00016.63
7.2.320.0070.01816.68
7.2.310.0130.00316.66
7.2.300.0160.00016.54
7.2.290.0070.01016.45
7.2.130.0060.00916.38
7.2.120.0060.00316.54
7.2.110.0100.00716.71
7.2.100.0050.00316.54
7.2.90.0060.00316.52
7.2.80.0030.01016.66
7.2.70.0090.00316.84
7.2.60.0030.01016.75
7.2.50.0030.01016.54
7.2.40.0030.00616.41
7.2.30.0060.01016.39
7.2.20.0060.00616.58
7.2.10.0040.00716.69
7.2.00.0030.01016.86
7.1.250.0060.00815.61
7.1.200.0000.01415.85
7.1.70.0030.00517.13
7.1.60.0060.01919.25
7.1.50.0060.00616.66
7.1.00.0000.09022.51
7.0.200.0000.01016.52
7.0.140.0030.07022.01
7.0.60.0070.08019.92
7.0.50.0130.07717.86
7.0.40.0130.05020.40
7.0.30.0300.07720.09
7.0.20.0400.07320.17
7.0.10.0070.08720.04
7.0.00.0030.04020.13
5.6.280.0030.07320.97
5.6.210.0130.07320.75
5.6.200.0000.07718.22
5.6.190.0100.08020.77
5.6.180.0330.07020.64
5.6.170.0500.06320.49
5.6.160.0100.08320.45
5.6.150.0000.04318.07
5.6.140.0030.04318.15
5.6.130.0100.05318.09
5.6.120.0070.07721.11
5.6.110.0030.04021.13
5.6.100.0070.08721.00
5.6.90.0070.04321.09
5.6.80.0100.06020.38
5.5.350.4230.04320.39
5.5.340.0000.04717.98
5.5.330.0070.08320.43
5.5.320.0330.07020.30
5.5.310.0400.07320.30
5.5.300.0070.06017.95
5.5.290.0070.05717.91
5.5.280.0170.07720.73
5.5.270.0100.08320.82
5.5.260.0030.08320.86
5.5.250.0000.08320.57
5.5.240.0270.02720.07
5.4.450.3570.05019.43
5.4.440.3430.04019.46
5.4.430.2970.04019.41
5.4.420.3570.03019.58
5.4.410.3370.04019.36
5.4.400.3500.03018.79
5.4.390.3530.04019.13
5.4.380.3170.04018.91
5.4.370.3670.03719.25
5.4.360.3330.04019.08
5.4.350.3470.03318.88
5.4.340.3130.03719.09
5.4.320.2930.05019.07
5.4.310.3130.03319.06
5.4.300.3200.02719.23
5.4.290.3530.03018.79
5.4.280.3330.03319.27
5.4.270.3170.03319.09
5.4.260.3270.03019.13
5.4.250.3370.04019.05
5.4.240.3230.03719.12
5.4.230.3130.03318.88
5.4.220.3370.02719.07
5.4.210.3070.04019.12
5.4.200.3000.03719.12
5.4.190.3230.03019.04
5.4.180.3130.04018.93
5.4.170.3070.05019.24
5.4.160.3000.03319.20
5.4.150.3130.04018.79
5.4.140.3000.03016.45
5.4.130.3330.04016.38
5.4.120.3170.04016.37
5.4.110.3100.04016.46
5.4.100.3200.02716.29
5.4.90.3230.03716.39
5.4.80.3070.03316.38
5.4.70.3470.03016.46
5.4.60.3600.04316.45
5.4.50.3470.04016.18
5.4.40.3200.04016.21
5.4.30.3600.03716.36
5.4.20.3570.04016.40
5.4.10.3570.03716.36
5.4.00.3430.03315.88
5.3.290.3270.03714.75
5.3.280.3400.04014.50
5.3.270.3200.03314.45
5.3.260.3170.04014.55
5.3.250.3200.03314.48
5.3.240.3330.04014.54
5.3.230.3400.04014.54
5.3.220.3470.03314.47
5.3.210.3130.04014.41
5.3.200.3400.04014.44
5.3.190.3130.03714.43
5.3.180.3530.03314.42
5.3.170.3370.04014.51
5.3.160.3230.04314.42
5.3.150.3530.02714.66
5.3.140.3530.02314.39
5.3.130.3400.03314.45
5.3.120.3230.03314.39
5.3.110.3470.03714.50
5.3.100.3830.03713.98
5.3.90.4900.03713.92
5.3.80.4070.03313.86
5.3.70.3900.04014.04
5.3.60.4030.03713.84
5.3.50.3770.03013.79
5.3.40.4130.03313.89
5.3.30.3730.03313.93
5.3.20.3970.03013.78
5.3.10.3400.03313.68
5.3.00.3470.03013.59
5.2.170.2830.03311.03
5.2.160.2870.03310.98
5.2.150.3000.02711.15
5.2.140.2830.03310.97
5.2.130.2930.02710.96
5.2.120.2870.02310.99
5.2.110.2530.03011.14
5.2.100.2700.03011.04
5.2.90.2700.02710.99
5.2.80.2600.03311.03
5.2.70.3100.03011.25
5.2.60.3000.03310.93
5.2.50.2870.03310.94
5.2.40.2330.02710.89
5.2.30.2400.02710.81
5.2.20.2030.03010.82
5.2.10.2900.02710.85
5.2.00.2270.03310.62
5.1.60.2200.02010.03
5.1.50.2370.0179.88
5.1.40.2530.0279.87
5.1.30.2730.02710.23
5.1.20.2800.03010.29
5.1.10.2930.02010.15
5.1.00.2830.02310.16
5.0.50.1430.0238.52
5.0.40.1570.0208.30
5.0.30.1330.0338.38
5.0.20.1500.0208.27
5.0.10.1600.0208.14
5.0.00.1330.0308.15
4.4.90.1430.0135.80
4.4.80.1330.0135.78
4.4.70.1470.0175.79
4.4.60.1300.0105.76
4.4.50.1600.0175.81
4.4.40.1600.0275.88
4.4.30.1570.0175.80
4.4.20.1500.0175.84
4.4.10.1470.0175.87
4.4.00.1230.0305.85
4.3.110.1000.0175.76
4.3.100.1400.0175.82
4.3.90.1500.0205.73
4.3.80.1370.0235.79
4.3.70.1500.0175.69
4.3.60.1500.0135.72
4.3.50.1300.0175.83
4.3.40.1570.0235.79
4.3.30.0930.0175.25
4.3.20.0700.0175.25
4.3.10.0870.0205.25
4.3.00.0870.0235.25

preferences:
47.45 ms | 400 KiB | 5 Q