3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '0'; if($price_check >= '0' || $filter='0') if($price_check <= '20' || $filter='200-500') if($price_check <= '50' || $filter='100-200') if($price_check <= '100' || $filter='100-200') if($price_check <= '200' || $filter='200-500') if($price_check <= '500' || $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.0160.00316.50
8.3.50.0120.00721.99
8.3.40.0090.00618.63
8.3.30.0100.00718.92
8.3.20.0000.00720.13
8.3.10.0080.00021.66
8.3.00.0040.00419.55
8.2.180.0150.00816.50
8.2.170.0070.00722.96
8.2.160.0070.00720.45
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00720.95
8.2.110.0030.00622.07
8.2.100.0000.01117.91
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0030.00817.66
8.2.50.0080.00018.07
8.2.40.0030.00518.22
8.2.30.0030.00618.04
8.2.20.0050.00317.69
8.2.10.0040.00418.06
8.2.00.0000.00717.65
8.1.280.0090.00625.92
8.1.270.0030.00623.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.65
8.1.230.0040.00819.00
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00517.23
8.1.180.0000.00718.10
8.1.170.0040.00418.46
8.1.160.0040.00421.92
8.1.150.0040.00418.91
8.1.140.0050.00317.32
8.1.130.0060.00017.73
8.1.120.0000.00917.46
8.1.110.0030.00617.37
8.1.100.0030.00517.41
8.1.90.0030.00317.45
8.1.80.0000.00717.36
8.1.70.0000.00717.37
8.1.60.0030.00517.48
8.1.50.0050.00217.59
8.1.40.0040.00417.54
8.1.30.0040.00417.62
8.1.20.0030.00517.54
8.1.10.0000.00717.40
8.1.00.0040.00417.43
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00818.39
8.0.270.0000.00717.25
8.0.260.0030.00317.27
8.0.250.0000.00716.93
8.0.240.0000.00716.91
8.0.230.0030.00316.90
8.0.220.0030.00316.90
8.0.210.0050.00216.84
8.0.200.0060.00017.04
8.0.190.0000.00817.00
8.0.180.0080.00016.88
8.0.170.0000.00816.90
8.0.160.0050.00316.82
8.0.150.0000.00716.86
8.0.140.0030.00316.89
8.0.130.0030.00313.37
8.0.120.0000.00816.92
8.0.110.0040.00416.86
8.0.100.0000.00716.80
8.0.90.0040.00416.98
8.0.80.0150.00016.95
8.0.70.0000.00816.82
8.0.60.0000.00716.84
8.0.50.0040.00416.73
8.0.30.0140.00817.20
8.0.20.0120.00917.40
8.0.10.0040.00417.05
8.0.00.0070.01016.81
7.4.330.0020.00215.13
7.4.320.0000.00716.52
7.4.300.0030.00316.48
7.4.290.0000.00716.57
7.4.280.0000.00816.39
7.4.270.0000.00716.50
7.4.260.0000.00616.52
7.4.250.0070.00016.50
7.4.240.0020.00616.54
7.4.230.0000.00716.45
7.4.220.0130.00516.56
7.4.210.0000.01516.38
7.4.200.0040.00416.30
7.4.160.0060.00916.35
7.4.150.0090.00917.40
7.4.140.0110.00517.86
7.4.130.0130.00616.62
7.4.120.0100.00816.49
7.4.110.0060.01116.45
7.4.100.0120.00916.46
7.4.90.0110.01116.49
7.4.80.0110.01119.39
7.4.70.0060.01016.41
7.4.60.0060.01116.56
7.4.50.0030.00716.34
7.4.40.0130.00316.46
7.4.30.0100.00716.46
7.4.00.0030.01315.01
7.3.330.0030.00313.00
7.3.320.0000.00513.11
7.3.310.0000.00616.10
7.3.300.0040.00416.08
7.3.290.0070.00716.24
7.3.280.0080.00816.28
7.3.270.0100.01417.40
7.3.260.0100.01316.29
7.3.240.0100.01316.29
7.3.230.0100.00716.39
7.3.210.0070.01016.36
7.3.200.0050.01119.39
7.3.190.0060.01216.42
7.3.180.0100.01016.59
7.3.170.0130.00916.27
7.3.160.0030.01216.44
7.3.120.0030.01014.80
7.2.330.0170.00716.22
7.2.320.0070.01616.53
7.2.310.0030.01316.57
7.2.300.0040.01216.55
7.2.290.0070.01016.55
7.2.00.0060.01219.40
7.1.100.0060.00618.02
7.1.70.0040.00416.98
7.1.60.0070.01419.25
7.1.50.0000.01016.96
7.1.00.0070.07322.46
7.0.200.0030.00316.94
7.0.140.0030.07321.95
7.0.60.0100.07721.83
7.0.50.0100.06317.79
7.0.40.0170.03019.98
7.0.30.0300.08020.20
7.0.20.0230.07320.09
7.0.10.0130.07320.17
7.0.00.0030.07320.19
5.6.280.0130.06320.81
5.6.210.0030.08320.66
5.6.200.0000.05318.13
5.6.190.0000.05720.57
5.6.180.0230.06720.61
5.6.170.0200.04020.33
5.6.160.0100.08320.38
5.6.150.0030.04018.11
5.6.140.0070.08018.21
5.6.130.0030.08318.18
5.6.120.0100.05321.00
5.6.110.0170.06720.95
5.6.100.0130.06020.96
5.6.90.0100.08021.00
5.6.80.0100.06720.43
5.5.350.0400.07020.38
5.5.340.0030.05717.93
5.5.330.0100.06720.40
5.5.320.0470.03720.51
5.5.310.0330.07020.30
5.5.300.0070.04317.93
5.5.290.0130.04718.01
5.5.280.0170.07020.75
5.5.270.0100.08020.67
5.5.260.0070.06320.87
5.5.250.0100.04020.76
5.5.240.0030.07320.28
5.4.450.3730.04719.33
5.4.440.3270.03719.49
5.4.430.4030.04019.52
5.4.420.3930.04019.46
5.4.410.3830.04019.06
5.4.400.3630.03719.00
5.4.390.4530.04319.17
5.4.380.2000.03318.92
5.4.370.4770.04019.04
5.4.360.4200.04019.09
5.4.350.3900.03319.17
5.4.340.3770.04319.17
5.4.320.3900.04019.13
5.4.310.4900.02719.10
5.4.300.4930.03719.08
5.4.290.4630.03719.26
5.4.280.4730.03718.94
5.4.270.4130.03719.13
5.4.260.4700.03319.04
5.4.250.4530.03319.25
5.4.240.4800.03319.16
5.4.230.4430.04319.08
5.4.220.4830.03318.99
5.4.210.4370.03318.97
5.4.200.4730.03719.16
5.4.190.4730.03718.91
5.4.180.4770.04019.15
5.4.170.4200.03319.03
5.4.160.3700.03719.06
5.4.150.4200.04019.06
5.4.140.3930.03716.23
5.4.130.3670.03016.25
5.4.120.4530.03716.38
5.4.110.4730.03716.32
5.4.100.4670.04016.15
5.4.90.4670.03016.32
5.4.80.4670.03716.47
5.4.70.5630.04016.21
5.4.60.4830.03716.46
5.4.50.3970.03316.10
5.4.40.3730.03716.36
5.4.30.3500.03016.29
5.4.20.3730.03716.20
5.4.10.3100.04016.46
5.4.00.3870.03315.89
5.3.290.3900.04714.60
5.3.280.4200.03714.68
5.3.270.4730.04314.57
5.3.260.4530.04714.55
5.3.250.3770.04014.48
5.3.240.4100.03714.56
5.3.230.4000.03314.52
5.3.220.4370.03314.53
5.3.210.4800.03314.49
5.3.200.4830.03014.66
5.3.190.4330.03714.54
5.3.180.4700.03314.52
5.3.170.4700.03714.50
5.3.160.4700.04014.49
5.3.150.4300.03714.50
5.3.140.3930.03714.51
5.3.130.3830.03714.49
5.3.120.3870.04314.44
5.3.110.3630.04314.42
5.3.100.3800.04013.96
5.3.90.3670.04313.99
5.3.80.3770.03013.94
5.3.70.3770.03313.85
5.3.60.3730.03313.93
5.3.50.3900.03013.86
5.3.40.3970.03313.77
5.3.30.4170.03713.70
5.3.20.5530.04013.71
5.3.10.4030.03713.62
5.3.00.4400.03713.57
5.2.170.3700.02711.14
5.2.160.3130.03011.13
5.2.150.3230.02311.04
5.2.140.3370.02711.07
5.2.130.3270.03711.08
5.2.120.3530.03011.00
5.2.110.3530.03310.99
5.2.100.3800.03010.96
5.2.90.3800.03010.98
5.2.80.3530.03011.08
5.2.70.3800.03011.04
5.2.60.3170.02711.02
5.2.50.3600.02710.83
5.2.40.2630.03010.81
5.2.30.3100.03010.91
5.2.20.3370.02010.88
5.2.10.2870.03310.74
5.2.00.4070.02310.70
5.1.60.3300.0239.94
5.1.50.1770.02310.07
5.1.40.0070.0339.88
5.1.30.0000.04310.34
5.1.20.0000.03710.50
5.1.10.0830.02710.06
5.1.00.2970.02010.08
5.0.50.1830.0238.62
5.0.40.1500.0178.48
5.0.30.1200.0338.21
5.0.20.1270.0178.23
5.0.10.1770.0138.18
5.0.00.1500.0278.20
4.4.90.1230.0175.98
4.4.80.1230.0135.98
4.4.70.1870.0135.98
4.4.60.1530.0135.98
4.4.50.1600.0105.98
4.4.40.1830.0275.98
4.4.30.0030.0335.98
4.4.20.0000.0205.98
4.4.10.1470.0175.98
4.4.00.1630.0275.98
4.3.110.1630.0135.98
4.3.100.1270.0135.98
4.3.90.1470.0175.98
4.3.80.1600.0305.98
4.3.70.1630.0175.98
4.3.60.1370.0175.98
4.3.50.1500.0135.98
4.3.40.1770.0235.98
4.3.30.0900.0175.98
4.3.20.0230.0175.98
4.3.10.1070.0175.98
4.3.00.1030.0205.98

preferences:
44.26 ms | 401 KiB | 5 Q