3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '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'; if($price_check <= '0'){$filter=0;} }}}}} 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.40.0000.02318.79
8.3.30.0000.01519.09
8.3.20.0030.00520.34
8.3.10.0040.00421.76
8.3.00.0070.00017.79
8.2.170.0130.00322.96
8.2.160.0000.01422.31
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00018.87
8.2.110.0050.00522.11
8.2.100.0090.00317.77
8.2.90.0000.00817.63
8.2.80.0080.00017.97
8.2.70.0030.00617.80
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0040.00422.32
8.2.30.0110.00018.00
8.2.20.0040.00417.69
8.2.10.0070.00018.07
8.2.00.0000.00817.57
8.1.270.0080.00023.96
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00423.77
8.1.230.0040.00819.14
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0080.00018.10
8.1.170.0050.00318.57
8.1.160.0000.00722.02
8.1.150.0020.00518.79
8.1.140.0020.00517.51
8.1.130.0030.00317.71
8.1.120.0030.00317.37
8.1.110.0040.00417.47
8.1.100.0050.00217.52
8.1.90.0040.00417.45
8.1.80.0070.00017.50
8.1.70.0070.00017.32
8.1.60.0000.00817.54
8.1.50.0030.00617.41
8.1.40.0040.00417.54
8.1.30.0040.00417.57
8.1.20.0000.00817.62
8.1.10.0030.00617.45
8.1.00.0000.00817.43
8.0.300.0070.00019.68
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0050.00217.21
8.0.260.0070.00017.16
8.0.250.0040.00416.89
8.0.240.0000.00616.88
8.0.230.0040.00416.99
8.0.220.0030.00316.78
8.0.210.0040.00416.86
8.0.200.0070.00016.93
8.0.190.0070.00016.98
8.0.180.0000.00716.87
8.0.170.0020.00516.84
8.0.160.0070.00016.76
8.0.150.0040.00416.73
8.0.140.0000.00716.77
8.0.130.0000.00513.25
8.0.120.0000.00716.91
8.0.110.0080.00016.91
8.0.100.0000.00816.73
8.0.90.0000.00716.77
8.0.80.0040.01116.91
8.0.70.0000.00716.87
8.0.60.0050.00216.73
8.0.50.0050.00316.84
8.0.30.0120.01016.88
8.0.20.0130.00517.44
8.0.10.0040.00417.01
8.0.00.0080.01316.86
7.4.330.0030.00315.09
7.4.320.0030.00316.50
7.4.300.0030.00316.52
7.4.290.0040.00416.61
7.4.280.0030.00616.55
7.4.270.0030.00316.46
7.4.260.0000.00816.50
7.4.250.0000.00716.57
7.4.240.0020.00516.52
7.4.230.0000.00716.41
7.4.220.0060.01916.52
7.4.210.0070.00716.48
7.4.200.0000.00716.44
7.4.160.0110.00716.71
7.4.150.0090.01017.40
7.4.140.0100.00717.86
7.4.130.0110.00616.58
7.4.120.0050.01216.37
7.4.110.0040.01516.36
7.4.100.0030.01416.48
7.4.90.0090.00916.46
7.4.80.0120.00619.39
7.4.70.0140.00216.59
7.4.60.0060.01016.52
7.4.50.0030.00616.39
7.4.40.0170.00616.41
7.4.30.0030.01016.31
7.4.00.0060.00814.89
7.3.330.0080.00012.93
7.3.320.0020.00213.09
7.3.310.0030.00316.14
7.3.300.0030.00316.20
7.3.290.0070.00716.17
7.3.280.0100.00716.25
7.3.270.0160.00317.40
7.3.260.0160.00316.08
7.3.250.0100.01016.37
7.3.240.0130.00316.13
7.3.230.0130.00316.39
7.3.210.0030.01616.16
7.3.200.0040.01119.39
7.3.190.0100.00716.14
7.3.180.0140.00716.12
7.3.170.0000.01616.37
7.3.160.0150.00416.48
7.3.120.0020.01314.64
7.3.110.0040.01414.81
7.3.100.0110.00714.94
7.3.90.0060.00614.69
7.3.80.0090.00614.66
7.3.70.0100.00614.78
7.3.60.0000.01414.74
7.3.50.0080.00814.68
7.3.40.0060.00914.72
7.3.30.0030.01214.71
7.3.20.0140.00016.68
7.3.10.0040.00816.55
7.3.00.0030.00616.58
7.2.330.0060.01316.36
7.2.320.0060.01516.25
7.2.310.0070.01516.65
7.2.300.0140.00316.46
7.2.290.0090.00916.33
7.2.250.0030.01515.20
7.2.240.0030.01614.97
7.2.230.0030.01215.09
7.2.220.0070.01015.09
7.2.210.0070.00715.12
7.2.200.0000.01414.98
7.2.190.0100.00614.92
7.2.180.0090.00614.85
7.2.170.0040.01515.11
7.2.60.0110.00616.82
7.2.50.0060.00616.77
7.2.00.0040.00819.09
7.1.330.0000.01515.83
7.1.320.0060.00315.45
7.1.310.0040.01115.75
7.1.300.0090.00915.94
7.1.290.0070.01015.43
7.1.280.0100.00715.62
7.1.270.0000.01415.70
7.1.260.0040.00415.87
7.1.200.0080.00015.55
7.1.70.0030.00616.74
7.1.60.0140.01019.25
7.1.50.0060.00616.92
7.1.00.0100.07022.40
7.0.200.0030.00616.81
7.0.140.0030.06722.12
7.0.110.0030.04320.03
7.0.100.0100.07319.93
7.0.90.0000.06019.93
7.0.80.0030.04320.01
7.0.70.0070.05720.05
7.0.60.0000.07020.08
7.0.50.0000.05020.24
7.0.40.0030.06020.27
7.0.30.0070.04320.07
7.0.20.0030.08020.21
7.0.10.0000.08019.95
7.0.00.0070.08720.21
5.6.280.0100.06721.06
5.6.250.0070.03720.61
5.6.240.0130.05020.61
5.6.230.0130.04720.55
5.6.220.0000.04320.54
5.6.210.0030.04020.72
5.6.200.0030.04321.05
5.6.190.0130.06721.05
5.6.180.0030.05020.96
5.6.170.0000.06021.14
5.6.160.0070.06721.26
5.6.150.0170.07720.95
5.6.140.0070.08320.93
5.6.130.0070.08021.04
5.6.120.0070.08021.14
5.6.110.0100.07720.97
5.6.100.0100.08320.93
5.6.90.0130.07321.11
5.6.80.0070.06020.57
5.6.70.0100.07020.30
5.6.60.0130.06020.50
5.6.50.0100.07020.50
5.6.40.0230.05320.31
5.6.30.0030.04320.34
5.6.20.0030.08020.33
5.6.10.0100.07720.29
5.6.00.0100.07720.45
5.5.380.0000.04720.37
5.5.370.0030.06320.47
5.5.360.0070.04020.33
5.5.350.0030.04020.45
5.5.340.0130.03720.83
5.5.330.0000.04320.95
5.5.320.0130.07720.77
5.5.310.0030.08720.83
5.5.300.0100.05021.01
5.5.290.0030.09020.89
5.5.280.0100.07020.77
5.5.270.0100.08020.97
5.5.260.0130.06320.79
5.5.250.0030.08320.82
5.5.240.0100.04320.12
5.5.230.0070.06720.21
5.5.220.0070.06720.40
5.5.210.0030.08020.36
5.5.200.0100.08020.30
5.5.190.0100.07020.24
5.5.180.0070.08020.18
5.5.160.0130.07720.15
5.5.150.0070.04020.36
5.5.140.0100.07320.24
5.5.130.0130.07320.08
5.5.120.0030.07320.20
5.5.110.0100.04020.12
5.5.100.0070.08020.10
5.5.90.0100.07020.13
5.5.80.0100.04320.09
5.5.70.0030.08720.21
5.5.60.0100.08720.20
5.5.50.0070.08020.06
5.5.40.0070.07720.22
5.5.30.0030.08020.11
5.5.20.0000.08320.18
5.5.10.0070.06020.19
5.5.00.0030.08020.09
5.4.450.0130.07319.28
5.4.440.0100.06719.36
5.4.430.0130.03319.27
5.4.420.0000.08719.42
5.4.410.0070.08019.22
5.4.400.0130.07318.93
5.4.390.0130.05019.02
5.4.380.0170.07019.10
5.4.370.0070.08019.03
5.4.360.0070.07719.11
5.4.350.0100.07019.08
5.4.340.0070.07319.03
5.4.320.0070.07319.16
5.4.310.0070.07319.12
5.4.300.0070.07018.92
5.4.290.0100.05319.27
5.4.280.0070.07019.24
5.4.270.0030.07319.18
5.4.260.0130.06319.07
5.4.250.0030.08319.09
5.4.240.0070.07719.11
5.4.230.0100.07019.11
5.4.220.0030.07719.26
5.4.210.0130.04719.00
5.4.200.0030.07318.92
5.4.190.0030.07319.26
5.4.180.0100.04319.02
5.4.170.0000.08719.01
5.4.160.0070.07719.11
5.4.150.0170.07018.93
5.4.140.0070.07316.46
5.4.130.0070.06716.48
5.4.120.0070.07316.22
5.4.110.0100.07316.29
5.4.100.0070.07316.53
5.4.90.0100.06716.50
5.4.80.0100.07016.38
5.4.70.0070.07716.36
5.4.60.0100.07316.46
5.4.50.0070.07716.39
5.4.40.0130.04716.55
5.4.30.0130.06316.48
5.4.20.0000.05016.25
5.4.10.0070.07316.10
5.4.00.0070.06015.67
5.3.290.0100.07314.76
5.3.280.0070.06314.61
5.3.270.0070.07714.43
5.3.260.0100.07014.70
5.3.250.0070.06014.49
5.3.240.0070.07314.54
5.3.230.0070.07714.52
5.3.220.0030.08014.39
5.3.210.0130.06314.49
5.3.200.0130.07014.63
5.3.190.0100.07014.41
5.3.180.0130.06714.63
5.3.170.0030.07314.39
5.3.160.0100.07014.56
5.3.150.0070.04314.43
5.3.140.0100.07314.42
5.3.130.0100.07314.64
5.3.120.0070.08714.61
5.3.110.0130.07714.39
5.3.100.0070.06713.93
5.3.90.0070.06714.04
5.3.80.0030.07314.03
5.3.70.0070.04314.07
5.3.60.0030.07713.93
5.3.50.0130.06313.86
5.3.40.0070.07713.73
5.3.30.0030.06713.80
5.3.20.0100.04013.59
5.3.10.0100.07313.53
5.3.00.0230.03313.73
5.2.170.0070.06311.09
5.2.160.0000.07011.30
5.2.150.0070.03710.93
5.2.140.0030.06711.30
5.2.130.0070.06011.04
5.2.120.0070.05711.25
5.2.110.0030.06011.17
5.2.100.0070.05310.89
5.2.90.0030.06011.05
5.2.80.0030.06010.90
5.2.70.0000.06710.99
5.2.60.0000.04310.84
5.2.50.0130.05010.96
5.2.40.0000.06710.93
5.2.30.0070.06011.13
5.2.20.0070.05310.88
5.2.10.0000.04310.88
5.2.00.0070.05710.79
5.1.60.0070.05010.16
5.1.50.0030.06010.06
5.1.40.0030.0339.97
5.1.30.0100.04710.34
5.1.20.0030.03310.35
5.1.10.0070.05310.03
5.1.00.0000.03710.14
5.0.50.0030.0478.53
5.0.40.0000.0478.65
5.0.30.0030.0638.35
5.0.20.0030.0238.35
5.0.10.0000.0408.35
5.0.00.0000.0508.35
4.4.90.0000.0338.35
4.4.80.0000.0378.35
4.4.70.0000.0378.35
4.4.60.0100.0138.35
4.4.50.0000.0308.35
4.4.40.0030.0538.35
4.4.30.0070.0308.35
4.4.20.0030.0378.35
4.4.10.0000.0378.35
4.4.00.0030.0338.35
4.3.110.0000.0378.35
4.3.100.0070.0308.35
4.3.90.0000.0208.35
4.3.80.0000.0438.35
4.3.70.0070.0138.35
4.3.60.0030.0338.35
4.3.50.0000.0378.35
4.3.40.0030.0508.35
4.3.30.0000.0378.35
4.3.20.0030.0338.35
4.3.10.0030.0338.35
4.3.00.0000.0278.35

preferences:
56.68 ms | 400 KiB | 5 Q