3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '100'; if($price_check > '0'||$filter='0') if($price_check > '500' || $filter='200-500') 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.0090.00618.56
8.3.50.0100.00922.11
8.3.40.0110.00718.66
8.3.30.0070.00718.84
8.3.20.0000.00820.07
8.3.10.0020.00521.49
8.3.00.0040.00417.78
8.2.180.0150.00718.16
8.2.170.0170.00322.96
8.2.160.0100.00320.39
8.2.150.0000.00724.18
8.2.140.0040.01124.66
8.2.130.0070.00026.16
8.2.120.0080.00021.11
8.2.110.0040.00422.26
8.2.100.0030.00817.59
8.2.90.0000.00919.29
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0040.00418.00
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0040.00418.16
8.2.20.0040.00417.74
8.2.10.0000.00718.19
8.2.00.0030.00617.67
8.1.280.0110.00325.92
8.1.270.0000.00823.83
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0000.00823.82
8.1.230.0110.00019.01
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00017.23
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0000.00818.41
8.1.160.0040.00421.92
8.1.150.0000.00718.88
8.1.140.0050.00317.32
8.1.130.0080.00019.11
8.1.120.0000.00717.52
8.1.110.0040.00417.50
8.1.100.0030.00417.40
8.1.90.0000.00717.41
8.1.80.0030.00317.34
8.1.70.0050.00217.49
8.1.60.0000.00917.56
8.1.50.0000.00817.37
8.1.40.0070.00017.39
8.1.30.0040.00417.63
8.1.20.0040.00417.55
8.1.10.0000.00717.51
8.1.00.0040.00417.27
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0070.00018.51
8.0.270.0030.00317.20
8.0.260.0030.00316.70
8.0.250.0000.00616.88
8.0.240.0000.00616.85
8.0.230.0030.00316.84
8.0.220.0000.00716.88
8.0.210.0070.00016.88
8.0.200.0000.00616.84
8.0.190.0070.00016.96
8.0.180.0040.00416.93
8.0.170.0040.00416.89
8.0.160.0070.00016.95
8.0.150.0040.00416.74
8.0.140.0000.00816.86
8.0.130.0000.00513.37
8.0.120.0000.00816.83
8.0.110.0040.00416.74
8.0.100.0000.00816.88
8.0.90.0040.00416.79
8.0.80.0090.00616.88
8.0.70.0040.00416.93
8.0.60.0000.00716.89
8.0.50.0040.00416.88
8.0.30.0070.01116.77
8.0.20.0060.01317.40
8.0.10.0000.00716.88
8.0.00.0110.00716.81
7.4.330.0050.00015.10
7.4.320.0000.00616.59
7.4.300.0030.00316.40
7.4.290.0030.00316.57
7.4.280.0000.00916.46
7.4.270.0070.00016.64
7.4.260.0070.00016.56
7.4.250.0070.00016.53
7.4.240.0040.00316.42
7.4.230.0000.00716.30
7.4.220.0110.00716.63
7.4.210.0150.00016.60
7.4.200.0070.00016.60
7.4.160.0120.00916.54
7.4.150.0090.00917.40
7.4.140.0020.01517.86
7.4.130.0120.00516.54
7.4.120.0120.00716.43
7.4.110.0060.01216.51
7.4.100.0110.01116.36
7.4.90.0090.00916.61
7.4.80.0120.00919.39
7.4.70.0090.00616.53
7.4.60.0060.00916.31
7.4.50.0030.00616.45
7.4.40.0130.00316.57
7.4.30.0120.00916.50
7.4.00.0060.01214.98
7.3.330.0000.00613.07
7.3.320.0030.00313.08
7.3.310.0060.00316.26
7.3.300.0080.00016.08
7.3.290.0000.01416.18
7.3.280.0050.01316.22
7.3.270.0130.00317.40
7.3.260.0130.00316.46
7.3.250.0110.00816.31
7.3.240.0070.01116.57
7.3.230.0130.00416.39
7.3.210.0070.01016.43
7.3.200.0060.01219.39
7.3.190.0130.00716.22
7.3.180.0060.01316.46
7.3.170.0080.00816.27
7.3.160.0030.01616.14
7.3.120.0080.00814.72
7.3.110.0030.01214.62
7.3.100.0080.00814.88
7.3.90.0070.00814.59
7.3.80.0040.00714.88
7.3.70.0060.00414.82
7.3.60.0060.00914.55
7.3.50.0060.00614.81
7.3.40.0070.00714.60
7.3.30.0120.00514.80
7.3.20.0100.00216.46
7.3.10.0090.00516.54
7.3.00.0060.00516.53
7.2.330.0030.01416.27
7.2.320.0150.00616.47
7.2.310.0030.01516.30
7.2.300.0150.00316.49
7.2.290.0090.00616.50
7.2.250.0080.00914.80
7.2.240.0050.01414.80
7.2.230.0080.00915.15
7.2.220.0030.00814.95
7.2.210.0020.01314.90
7.2.200.0040.01114.76
7.2.190.0060.00714.87
7.2.180.0090.00514.99
7.2.170.0060.00614.96
7.2.130.0030.00916.86
7.2.120.0080.00416.86
7.2.110.0070.00716.91
7.2.100.0080.00316.66
7.2.90.0110.00416.68
7.2.80.0070.00916.60
7.2.70.0000.00916.80
7.2.60.0070.00716.43
7.2.50.0100.01016.36
7.2.40.0030.00616.80
7.2.30.0070.01016.89
7.2.20.0080.01116.55
7.2.10.0000.00816.41
7.2.00.0120.00916.80
7.1.330.0080.00715.61
7.1.320.0040.00815.71
7.1.310.0050.01015.61
7.1.300.0060.00615.68
7.1.290.0030.01015.62
7.1.280.0080.00615.70
7.1.270.0030.01115.53
7.1.260.0020.01015.59
7.1.250.0030.00915.57
7.1.200.0060.00615.49
7.1.70.0000.00716.99
7.1.60.0100.01619.25
7.1.50.0000.01116.74
7.1.00.0030.07322.44
7.0.200.0040.00416.87
7.0.140.0030.07322.07
7.0.60.0230.07719.77
7.0.50.0100.08017.79
7.0.40.0100.06720.08
7.0.30.0470.04720.17
7.0.20.0100.04720.17
7.0.10.0070.05020.09
7.0.00.0130.07720.11
5.6.280.0100.06721.03
5.6.210.0070.08720.56
5.6.200.0100.07018.21
5.6.190.0130.07720.45
5.6.180.3700.03720.49
5.6.170.0230.08720.38
5.6.160.0130.07320.33
5.6.150.0200.05318.21
5.6.140.0030.04718.21
5.6.130.0070.08018.21
5.6.120.0000.05720.98
5.6.110.0130.08021.11
5.6.100.0100.07020.98
5.6.90.0100.08020.95
5.6.80.0000.07720.43
5.6.70.4500.03720.51
5.5.350.0100.08020.48
5.5.340.0100.07717.89
5.5.330.0070.03720.21
5.5.320.3570.04720.28
5.5.310.0300.07720.50
5.5.300.0070.08017.92
5.5.290.0070.08318.02
5.5.280.0100.08020.95
5.5.270.0030.04320.96
5.5.260.0030.06720.73
5.5.250.0100.07020.78
5.5.240.0300.07320.06
5.4.450.0400.04719.55
5.4.440.0300.04719.45
5.4.430.0470.04719.45
5.4.420.0370.05019.41
5.4.410.0330.04719.35
5.4.400.0400.04319.14
5.4.390.0500.04718.78
5.4.380.0130.05718.48
5.4.370.0070.05718.61
5.4.360.0200.04718.57
5.4.350.0130.06018.57
5.4.340.0300.05318.58
5.4.320.0060.03512.45
5.4.310.0020.04112.45
5.4.300.0060.03712.45
5.4.290.0050.03812.45
5.4.280.0060.03512.34
5.4.270.0060.03512.35
5.4.260.0070.03712.34
5.4.250.0060.03912.34
5.4.240.0090.03312.34
5.4.230.0060.03712.34
5.4.220.0090.03212.34
5.4.210.0050.03512.34
5.4.200.0040.03912.34
5.4.190.0070.03512.34
5.4.180.0090.03412.34
5.4.170.0100.03512.35
5.4.160.0080.03512.34
5.4.150.0090.04012.34
5.4.140.0080.03612.02
5.4.130.0050.03712.01
5.4.120.0080.03411.96
5.4.110.0040.03811.96
5.4.100.0090.03211.96
5.4.90.0060.03611.96
5.4.80.0060.03611.96
5.4.70.0030.03811.96
5.4.60.0040.03711.96
5.4.50.0050.04811.96
5.4.40.0140.03911.95
5.4.30.0050.03711.95
5.4.20.0060.03411.95
5.4.10.0060.03411.95
5.4.00.0050.03611.44
5.3.290.0150.04512.80
5.3.280.0070.04012.71
5.3.270.0030.04412.72
5.3.260.0090.03612.72
5.3.250.0060.03812.72
5.3.240.0100.03612.72
5.3.230.0060.04012.70
5.3.220.0050.03912.68
5.3.210.0080.03612.68
5.3.200.0050.03812.68
5.3.190.0040.04012.68
5.3.180.0090.03312.68
5.3.170.0080.03412.67
5.3.160.0070.03512.68
5.3.150.0050.03712.68
5.3.140.0060.03612.66
5.3.130.0060.03812.66
5.3.120.0050.04112.66
5.3.110.0090.03612.66
5.3.100.0060.03712.12
5.3.90.0060.03712.08
5.3.80.0070.03612.07
5.3.70.0040.04112.07
5.3.60.0090.03412.06
5.3.50.0040.03812.00
5.3.40.0060.03712.00
5.3.30.0070.03411.94
5.3.20.0070.03511.72
5.3.10.0060.04011.69
5.3.00.0060.04711.68
5.2.170.0060.0309.18
5.2.160.0040.0309.18
5.2.150.0050.0319.18
5.2.140.0050.0319.17
5.2.130.0060.0299.14
5.2.120.0080.0269.13
5.2.110.0070.0379.14
5.2.100.0050.0319.14
5.2.90.0050.0419.14
5.2.80.0070.0399.13
5.2.70.0040.0359.13
5.2.60.0090.0339.09
5.2.50.0100.0379.05
5.2.40.0040.0309.03
5.2.30.0060.0289.01
5.2.20.0040.0299.00
5.2.10.0030.0308.92
5.2.00.0050.0298.78
5.1.60.0060.0228.06
5.1.50.0070.0228.06
5.1.40.0030.0268.04
5.1.30.0050.0268.39
5.1.20.0040.0278.41
5.1.10.0030.0308.14
5.1.00.0010.0308.13
5.0.50.0020.0236.61
5.0.40.0040.0196.48
5.0.30.0040.0306.29
5.0.20.0040.0206.26
5.0.10.0010.0256.24
5.0.00.0020.0326.23
4.4.90.0020.0164.78
4.4.80.0030.0214.75
4.4.70.0050.0144.76
4.4.60.0050.0144.75
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0020.0184.76
4.4.20.0020.0174.84
4.4.10.0030.0164.85
4.4.00.0060.0224.76
4.3.110.0030.0154.67
4.3.100.0020.0164.66
4.3.90.0040.0144.64
4.3.80.0060.0224.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0050.0224.54
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0020.0163.21
4.3.00.0000.01715.26

preferences:
45.79 ms | 401 KiB | 5 Q