3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '52'; 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='0-20') if($price_check > '20' || $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.60.0110.00418.55
8.3.50.0120.00321.99
8.3.40.0110.00418.68
8.3.30.0070.00718.98
8.3.20.0080.00020.38
8.3.10.0080.00021.79
8.3.00.0050.00317.77
8.2.180.0110.01116.38
8.2.170.0070.00722.96
8.2.160.0070.00720.38
8.2.150.0050.00224.18
8.2.140.0060.00324.66
8.2.130.0060.00326.16
8.2.120.0050.00320.88
8.2.110.0040.00422.20
8.2.100.0120.00017.78
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0090.00017.49
8.2.60.0040.00418.04
8.2.50.0080.00018.07
8.2.40.0060.00318.22
8.2.30.0030.00518.13
8.2.20.0050.00217.78
8.2.10.0040.00418.18
8.2.00.0040.00417.80
8.1.280.0070.00725.92
8.1.270.0050.00323.96
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0080.00023.70
8.1.230.0060.00619.10
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.53
8.1.160.0040.00421.97
8.1.150.0040.00418.80
8.1.140.0030.00617.39
8.1.130.0060.00017.74
8.1.120.0040.00417.50
8.1.110.0060.00317.36
8.1.100.0040.00317.47
8.1.90.0000.00717.51
8.1.80.0000.00717.45
8.1.70.0000.00717.31
8.1.60.0050.00517.57
8.1.50.0040.00417.57
8.1.40.0030.00617.40
8.1.30.0050.00517.69
8.1.20.0040.00417.67
8.1.10.0030.00517.54
8.1.00.0050.00217.45
8.0.300.0070.00018.77
8.0.290.0080.00016.75
8.0.280.0030.00318.49
8.0.270.0000.00717.13
8.0.260.0030.00317.24
8.0.250.0040.00416.86
8.0.240.0030.00316.98
8.0.230.0040.00416.79
8.0.220.0000.00616.93
8.0.210.0000.00616.89
8.0.200.0000.00616.86
8.0.190.0040.00416.93
8.0.180.0040.00416.89
8.0.170.0040.00416.88
8.0.160.0050.00316.92
8.0.150.0070.00016.74
8.0.140.0030.00316.73
8.0.130.0030.00313.24
8.0.120.0080.00016.74
8.0.110.0000.00716.88
8.0.100.0000.00716.73
8.0.90.0040.00416.95
8.0.80.0090.00616.86
8.0.70.0040.00416.95
8.0.60.0040.00416.68
8.0.50.0000.00716.92
8.0.30.0160.00716.89
8.0.20.0070.01217.40
8.0.10.0050.00316.96
8.0.00.0050.01216.62
7.4.330.0000.00515.08
7.4.320.0060.00016.57
7.4.300.0030.00316.50
7.4.290.0000.00716.45
7.4.280.0050.00516.44
7.4.270.0030.00316.50
7.4.260.0030.00316.47
7.4.250.0020.00516.55
7.4.240.0010.00616.57
7.4.230.0030.00316.38
7.4.220.0070.01516.53
7.4.210.0090.00616.70
7.4.200.0070.00016.69
7.4.160.0120.00316.66
7.4.150.0100.00717.40
7.4.140.0070.01017.86
7.4.130.0080.01016.57
7.4.120.0150.00516.37
7.4.110.0070.01016.38
7.4.100.0100.01016.45
7.4.90.0100.00716.40
7.4.80.0040.01319.39
7.4.70.0030.01516.47
7.4.60.0090.00616.47
7.4.50.0020.00216.52
7.4.40.0120.00916.39
7.4.30.0050.01116.50
7.4.00.0030.01215.04
7.3.330.0000.00612.94
7.3.320.0000.00513.05
7.3.310.0000.00716.18
7.3.300.0030.00316.22
7.3.290.0060.00916.28
7.3.280.0050.01316.20
7.3.270.0120.01217.40
7.3.260.0040.01416.23
7.3.250.0120.00616.36
7.3.240.0040.01316.36
7.3.230.0120.00416.39
7.3.210.0080.00816.22
7.3.200.0110.00719.39
7.3.190.0090.01316.65
7.3.180.0070.01316.27
7.3.170.0090.00616.27
7.3.160.0100.00616.64
7.3.120.0120.00314.38
7.3.00.0160.00316.23
7.2.330.0130.00316.36
7.2.320.0070.01116.45
7.2.310.0100.00716.41
7.2.300.0060.01016.62
7.2.290.0100.00716.38
7.2.130.0110.00916.82
7.2.120.0130.00916.64
7.2.110.0100.01016.68
7.2.100.0120.00916.69
7.2.90.0170.00416.65
7.2.80.0160.00516.62
7.2.70.0110.01316.76
7.2.60.0040.01916.93
7.2.50.0100.01016.61
7.2.40.0190.00617.00
7.2.30.0140.01116.64
7.2.20.0110.01116.60
7.2.10.0190.00716.73
7.2.00.0050.01018.18
7.1.250.0110.00515.55
7.1.240.0060.01215.46
7.1.230.0130.00815.46
7.1.220.0110.01215.57
7.1.210.0170.00215.59
7.1.200.0050.01115.52
7.1.190.0180.00515.52
7.1.180.0120.01115.38
7.1.170.0120.00415.49
7.1.160.0130.00815.61
7.1.150.0090.01015.62
7.1.140.0100.00715.16
7.1.130.0100.00715.56
7.1.120.0150.00015.27
7.1.110.0100.00315.50
7.1.100.0060.00616.75
7.1.90.0140.00315.49
7.1.80.0080.00815.45
7.1.70.0080.01016.29
7.1.60.0130.00517.46
7.1.50.0100.00915.98
7.1.40.0120.00615.75
7.1.30.0070.00715.57
7.1.20.0140.00314.87
7.1.10.0120.00015.23
7.1.00.0070.04118.79
7.0.330.0190.00015.18
7.0.320.0140.00615.34
7.0.310.0110.00714.96
7.0.300.0120.00715.39
7.0.290.0100.01015.20
7.0.280.0100.00715.49
7.0.270.0110.00314.85
7.0.260.0070.01115.48
7.0.250.0090.00315.38
7.0.240.0060.00615.57
7.0.230.0070.00715.36
7.0.220.0030.01015.44
7.0.210.0110.00415.37
7.0.200.0080.00316.12
7.0.190.0140.00015.49
7.0.180.0070.00715.22
7.0.170.0040.01115.10
7.0.160.0130.00314.96
7.0.150.0090.00615.41
7.0.140.0100.03618.66
7.0.130.0030.01215.20
7.0.120.0100.00714.99
7.0.110.0070.01015.33
7.0.100.0090.00315.36
7.0.90.0100.00315.27
7.0.80.0100.00315.34
7.0.70.0140.00015.25
7.0.60.0030.04817.37
7.0.50.0110.04516.65
7.0.40.0020.02616.66
7.0.30.0180.04516.72
7.0.20.0170.04416.72
7.0.10.0130.04016.87
7.0.00.0090.02516.71
5.6.380.0080.00813.89
5.6.370.0140.00814.18
5.6.360.0100.01113.89
5.6.350.0050.01514.27
5.6.340.0080.00814.07
5.6.330.0080.00514.40
5.6.320.0110.00313.97
5.6.310.0040.00813.98
5.6.300.0100.00313.88
5.6.290.0050.00514.42
5.6.280.0080.03317.51
5.6.270.0030.01014.35
5.6.260.0060.00613.82
5.6.250.0100.00313.96
5.6.240.0060.00314.04
5.6.230.0060.00614.07
5.6.220.0040.01213.90
5.6.210.0080.04317.41
5.6.200.0030.04716.04
5.6.190.0120.04017.34
5.6.180.1820.02917.39
5.6.170.0120.04217.32
5.6.160.0070.04717.15
5.6.150.0030.03716.01
5.6.140.0050.02816.16
5.6.130.0070.02816.10
5.6.120.0100.04017.47
5.6.110.0040.03017.53
5.6.100.0080.04517.75
5.6.90.0100.04317.55
5.6.80.0070.04317.20
5.6.70.2260.02617.17
5.6.60.0030.00714.11
5.6.50.0030.00714.02
5.6.40.0000.01113.76
5.6.30.0000.01414.03
5.6.20.0000.01313.96
5.6.10.0040.00813.90
5.6.00.0000.00813.94
5.5.380.0000.00910.95
5.5.370.0030.00611.13
5.5.360.0040.00710.97
5.5.350.0080.01815.65
5.5.340.0030.02314.44
5.5.330.0080.04315.76
5.5.320.2070.02115.71
5.5.310.0120.03915.62
5.5.300.0070.02214.47
5.5.290.0020.02714.45
5.5.280.0030.02215.94
5.5.270.0060.04315.83
5.5.260.0050.04515.88
5.5.250.0060.03515.73
5.5.240.0150.04015.56
5.5.230.0030.00510.90
5.5.220.0000.01210.92
5.5.210.0000.00710.90
5.5.200.0030.00910.93
5.5.190.0000.00810.90
5.5.180.0030.00811.03
5.5.170.0000.00810.90
5.5.160.0070.00410.96
5.5.150.0030.00710.90
5.5.140.0070.00311.00
5.5.130.0040.00411.05
5.5.120.0090.00010.90
5.5.110.0110.00011.00
5.5.100.0050.00510.90
5.5.90.0040.00411.02
5.5.80.0000.00510.90
5.5.70.0090.00311.04
5.5.60.0030.00510.90
5.5.50.0000.00810.90
5.5.40.0070.00311.04
5.5.30.0040.00410.90
5.5.20.0040.00410.90
5.5.10.0040.00711.07
5.5.00.0000.00910.93
5.4.450.0370.02015.07
5.4.440.0070.02915.19
5.4.430.0100.02915.08
5.4.420.0220.02515.07
5.4.410.0190.02615.17
5.4.400.0350.01714.84
5.4.390.0280.02314.85
5.4.380.0050.03314.76
5.4.370.0100.03214.76
5.4.360.0130.02514.70
5.4.350.0100.03014.71
5.4.340.0130.02414.68
5.4.330.0030.00910.90
5.4.320.0040.02211.67
5.4.310.0060.01911.67
5.4.300.0050.02011.68
5.4.290.0050.02011.67
5.4.280.0060.02211.62
5.4.270.0060.02111.62
5.4.260.0030.02311.62
5.4.250.0040.02511.62
5.4.240.0040.02411.62
5.4.230.0050.02111.62
5.4.220.0040.02211.62
5.4.210.0070.01711.62
5.4.200.0070.02111.62
5.4.190.0050.02111.62
5.4.180.0020.02311.62
5.4.170.0040.02311.62
5.4.160.0040.02211.62
5.4.150.0040.02211.62
5.4.140.0020.02511.55
5.4.130.0040.02111.46
5.4.120.0080.02111.43
5.4.110.0100.02011.43
5.4.100.0060.02211.43
5.4.90.0060.02011.43
5.4.80.0070.02811.43
5.4.70.0030.02811.43
5.4.60.0040.02111.43
5.4.50.0080.01911.43
5.4.40.0020.02111.42
5.4.30.0070.01911.42
5.4.20.0040.02111.43
5.4.10.0080.01611.48
5.4.00.0050.02111.17
5.3.290.0060.02111.85
5.3.280.0040.02311.80
5.3.270.0040.02311.81
5.3.260.0060.02211.81
5.3.250.0070.02311.81
5.3.240.0030.02211.81
5.3.230.0040.02211.80
5.3.220.0030.02411.79
5.3.210.0040.02411.79
5.3.200.0030.02411.79
5.3.190.0060.02211.79
5.3.180.0040.02111.79
5.3.170.0060.01911.79
5.3.160.0070.01811.79
5.3.150.0050.02211.79
5.3.140.0020.02411.78
5.3.130.0080.02011.78
5.3.120.0060.02011.78
5.3.110.0050.02611.78
5.3.100.0080.02711.51
5.3.90.0050.02211.49
5.3.80.0050.02611.49
5.3.70.0060.02011.49
5.3.60.0020.02511.48
5.3.50.0050.02011.45
5.3.40.0070.01911.45
5.3.30.0070.01811.42
5.3.20.0040.02511.31
5.3.10.0030.02211.29
5.3.00.0040.02111.29
5.2.170.0040.01910.04
5.2.160.0060.01510.04
5.2.150.0040.01810.04
5.2.140.0040.01710.04
5.2.130.0040.01710.02
5.2.120.0050.01410.02
5.2.110.0050.01810.02
5.2.100.0040.01910.02
5.2.90.0020.02410.02
5.2.80.0060.02110.02
5.2.70.0040.01710.02
5.2.60.0050.0169.99
5.2.50.0030.0179.98
5.2.40.0040.0189.97
5.2.30.0020.0219.96
5.2.20.0040.0209.95
5.2.10.0030.0199.91
5.2.00.0020.0189.84
5.1.60.0020.0169.48
5.1.50.0040.0139.48
5.1.40.0030.0189.47
5.1.30.0030.0159.65
5.1.20.0040.0159.66
5.1.10.0030.0199.52
5.1.00.0040.0149.52
5.0.50.0040.0118.76
5.0.40.0020.0118.69
5.0.30.0030.0188.59
5.0.20.0050.0118.58
5.0.10.0040.0128.57
5.0.00.0050.0168.56
4.4.90.0020.0117.84
4.4.80.0010.0107.83
4.4.70.0010.0127.83
4.4.60.0020.0097.83
4.4.50.0020.0097.84
4.4.40.0030.0147.80
4.4.30.0040.0077.83
4.4.20.0040.0077.87
4.4.10.0030.0097.87
4.4.00.0010.0147.83
4.3.110.0020.0107.78
4.3.100.0010.0137.78
4.3.90.0050.0097.76
4.3.80.0050.0177.74
4.3.70.0030.0127.76
4.3.60.0030.0117.76
4.3.50.0050.0117.76
4.3.40.0020.0187.72
4.3.30.0020.0107.09
4.3.20.0010.0117.08
4.3.10.0010.0117.06
4.3.00.0030.00913.08

preferences:
44.87 ms | 401 KiB | 5 Q