3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '500'; 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.0100.00718.30
8.3.50.0120.00522.05
8.3.40.0100.00718.83
8.3.30.0140.00019.18
8.3.20.0130.00320.22
8.3.10.0030.00523.64
8.3.00.0040.00417.68
8.2.180.0190.00316.63
8.2.170.0110.00422.96
8.2.160.0110.00420.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0050.00221.02
8.2.110.0060.00319.21
8.2.100.0120.00017.93
8.2.90.0040.00419.20
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0050.00317.80
8.2.50.0000.00818.10
8.2.40.0070.00022.31
8.2.30.0110.00018.12
8.2.20.0080.00017.59
8.2.10.0040.00418.11
8.2.00.0000.00717.55
8.1.280.0070.00725.92
8.1.270.0040.00423.92
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0090.00021.24
8.1.230.0000.01117.76
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0080.00317.35
8.1.180.0060.00318.10
8.1.170.0060.00318.46
8.1.160.0040.00422.06
8.1.150.0000.00718.91
8.1.140.0030.00617.40
8.1.130.0030.00317.80
8.1.120.0000.00717.36
8.1.110.0040.00417.45
8.1.100.0040.00417.34
8.1.90.0000.00717.41
8.1.80.0000.00717.45
8.1.70.0000.00717.47
8.1.60.0030.00617.61
8.1.50.0060.00317.47
8.1.40.0040.00417.41
8.1.30.0030.00617.56
8.1.20.0050.00317.54
8.1.10.0080.00017.49
8.1.00.0000.00717.41
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.43
8.0.270.0000.00717.25
8.0.260.0000.00617.25
8.0.250.0030.00316.94
8.0.240.0000.00816.84
8.0.230.0040.00416.97
8.0.220.0050.00316.93
8.0.210.0030.00316.90
8.0.200.0000.00617.01
8.0.190.0050.00216.85
8.0.180.0050.00316.77
8.0.170.0000.00716.91
8.0.160.0040.00416.93
8.0.150.0040.00416.89
8.0.140.0000.00716.71
8.0.130.0000.00513.27
8.0.120.0030.00516.80
8.0.110.0040.00416.93
8.0.100.0040.00416.68
8.0.90.0040.00416.83
8.0.80.0080.00816.93
8.0.70.0030.00316.69
8.0.60.0040.00416.92
8.0.50.0070.00016.93
8.0.30.0090.01117.02
8.0.20.0100.00817.40
8.0.10.0040.00416.88
8.0.00.0100.00816.78
7.4.330.0020.00215.09
7.4.320.0000.00616.60
7.4.300.0060.00016.52
7.4.290.0000.00716.53
7.4.280.0000.00716.55
7.4.270.0000.00716.62
7.4.260.0000.00716.54
7.4.250.0040.00416.55
7.4.240.0000.00716.50
7.4.230.0030.00316.48
7.4.220.0160.01016.64
7.4.210.0090.00616.59
7.4.200.0050.00316.50
7.4.160.0110.00516.50
7.4.150.0060.01317.40
7.4.140.0080.01117.86
7.4.130.0080.01016.61
7.4.120.0120.00716.37
7.4.110.0070.01016.48
7.4.100.0060.01716.34
7.4.90.0100.00716.44
7.4.80.0130.00419.39
7.4.70.0110.00716.68
7.4.60.0100.00716.43
7.4.50.0080.00016.45
7.4.40.0080.00816.39
7.4.30.0040.01116.46
7.4.00.0000.01714.72
7.3.330.0060.00013.03
7.3.320.0000.00613.02
7.3.310.0040.00416.03
7.3.300.0070.00016.17
7.3.290.0070.00716.18
7.3.280.0080.01016.18
7.3.270.0120.00917.40
7.3.260.0090.00616.21
7.3.250.0140.00616.25
7.3.240.0110.00616.36
7.3.230.0070.01016.39
7.3.210.0120.00616.37
7.3.200.0030.01519.39
7.3.190.0080.00816.39
7.3.180.0030.01316.43
7.3.170.0130.00316.43
7.3.160.0060.01316.28
7.3.120.0100.00715.11
7.3.00.0060.00616.42
7.2.330.0140.00516.61
7.2.320.0030.01416.38
7.2.310.0070.01116.67
7.2.300.0070.01016.65
7.2.290.0140.00316.66
7.2.130.0110.01116.56
7.2.120.0060.00616.58
7.2.110.0100.00716.55
7.2.100.0000.01216.64
7.2.90.0060.00616.61
7.2.80.0000.01316.50
7.2.70.0000.00916.64
7.2.60.0110.00316.89
7.2.50.0070.00716.58
7.2.40.0090.00316.98
7.2.30.0030.01316.97
7.2.20.0090.00316.82
7.2.10.0060.00316.63
7.2.00.0070.00718.06
7.1.250.0120.00315.57
7.1.240.0080.00415.58
7.1.230.0100.00315.54
7.1.220.0030.01015.37
7.1.210.0090.00315.61
7.1.200.0040.00415.72
7.1.190.0000.01015.34
7.1.180.0090.00015.58
7.1.170.0000.01815.41
7.1.160.0070.00715.74
7.1.150.0030.00915.52
7.1.140.0030.00715.36
7.1.130.0030.00715.68
7.1.120.0080.00315.79
7.1.110.0030.00715.54
7.1.100.0070.00616.98
7.1.90.0040.00415.66
7.1.80.0040.00415.79
7.1.70.0030.00816.33
7.1.60.0040.00716.32
7.1.50.0060.01016.27
7.1.40.0120.00015.67
7.1.30.0000.01215.71
7.1.20.0040.00415.70
7.1.10.0060.00615.80
7.1.00.0030.04518.99
7.0.330.0070.00715.52
7.0.320.0060.00915.39
7.0.310.0040.00815.21
7.0.300.0080.00515.21
7.0.290.0040.00815.10
7.0.280.0070.00415.29
7.0.270.0030.00315.04
7.0.260.0070.00415.19
7.0.250.0040.00415.39
7.0.240.0070.00415.29
7.0.230.0090.00315.28
7.0.220.0130.00314.82
7.0.210.0030.00915.33
7.0.200.0050.01015.99
7.0.190.0000.01015.29
7.0.180.0030.00615.52
7.0.170.0120.00315.26
7.0.160.0090.00615.28
7.0.150.0060.00615.39
7.0.140.0000.04318.69
7.0.130.0080.00415.34
7.0.120.0080.00414.85
7.0.110.0090.00315.22
7.0.100.0040.00815.16
7.0.90.0040.00815.07
7.0.80.0060.00615.36
7.0.70.0060.00615.07
7.0.60.0060.04017.60
7.0.50.0050.03316.49
7.0.40.0070.02616.71
7.0.30.0130.04316.78
7.0.20.0120.04516.88
7.0.10.0070.04716.66
7.0.00.0030.03816.73
5.6.380.0070.00414.31
5.6.370.0030.01014.12
5.6.360.0000.01114.27
5.6.350.0130.00014.09
5.6.340.0040.00714.26
5.6.330.0030.00714.23
5.6.320.0030.00714.35
5.6.310.0030.00713.91
5.6.300.0000.01214.13
5.6.290.0040.01114.12
5.6.280.0030.04017.59
5.6.270.0030.01214.51
5.6.260.0030.01014.26
5.6.250.0060.00614.17
5.6.240.0130.00013.98
5.6.230.0080.00014.28
5.6.220.0030.00714.57
5.6.210.0080.03217.42
5.6.200.0030.02516.23
5.6.190.0070.03517.52
5.6.180.2190.02017.47
5.6.170.0170.04517.46
5.6.160.0100.03517.43
5.6.150.0050.02516.22
5.6.140.0080.02016.08
5.6.130.0000.04416.19
5.6.120.0030.02417.48
5.6.110.0050.04417.43
5.6.100.0050.04417.74
5.6.90.0040.04117.62
5.6.80.0050.04317.46
5.6.70.2290.02217.35
5.6.60.0060.00913.91
5.6.50.0030.00614.09
5.6.40.0040.00414.07
5.6.30.0000.01114.18
5.6.20.0040.01113.93
5.6.10.0000.00914.22
5.6.00.0030.00714.17
5.5.380.0000.00911.18
5.5.370.0070.00311.18
5.5.360.0050.00011.18
5.5.350.0140.04015.80
5.5.340.0050.04314.59
5.5.330.0080.04115.70
5.5.320.1520.02515.75
5.5.310.0120.02515.67
5.5.300.0030.02614.60
5.5.290.0070.03314.59
5.5.280.0040.02415.98
5.5.270.0050.04015.92
5.5.260.0070.03816.02
5.5.250.0060.02315.89
5.5.240.0100.04415.70
5.5.230.0070.00711.18
5.5.220.0070.00011.18
5.5.210.0100.00011.18
5.5.200.0040.00811.18
5.5.190.0000.01111.18
5.5.180.0060.00611.18
5.5.170.0000.00811.18
5.5.160.0030.00911.18
5.5.150.0030.01111.18
5.5.140.0000.00711.18
5.5.130.0000.00711.18
5.5.120.0000.00811.18
5.5.110.0070.00311.18
5.5.100.0090.00011.18
5.5.90.0000.00811.18
5.5.80.0070.00011.18
5.5.70.0000.01011.18
5.5.60.0030.00911.18
5.5.50.0040.00411.18
5.5.40.0050.00211.18
5.5.30.0070.00011.18
5.5.20.0000.00911.18
5.5.10.0080.00311.18
5.5.00.0030.00611.18
5.4.450.0280.02315.32
5.4.440.0150.02015.29
5.4.430.0160.03115.33
5.4.420.0160.02015.33
5.4.410.0120.02315.15
5.4.400.0260.02315.13
5.4.390.0070.02515.05
5.4.380.0130.02814.92
5.4.370.0150.02414.87
5.4.360.0100.03114.88
5.4.350.0050.03514.89
5.4.340.0100.02714.85
5.4.330.0040.00411.18
5.4.320.0040.02111.81
5.4.310.0030.02711.81
5.4.300.0030.02211.81
5.4.290.0050.02211.81
5.4.280.0060.01911.76
5.4.270.0030.02311.76
5.4.260.0040.02911.76
5.4.250.0100.02011.76
5.4.240.0070.01911.76
5.4.230.0050.02011.76
5.4.220.0040.02011.76
5.4.210.0060.02011.76
5.4.200.0070.01911.76
5.4.190.0020.02311.76
5.4.180.0020.02511.75
5.4.170.0020.02311.76
5.4.160.0020.02311.76
5.4.150.0060.01911.76
5.4.140.0060.02011.60
5.4.130.0050.02111.59
5.4.120.0040.02011.57
5.4.110.0040.02011.57
5.4.100.0050.02111.57
5.4.90.0050.02111.57
5.4.80.0040.02211.57
5.4.70.0020.02211.57
5.4.60.0040.02011.57
5.4.50.0020.02311.57
5.4.40.0050.01811.56
5.4.30.0050.02111.56
5.4.20.0050.02011.56
5.4.10.0060.01911.56
5.4.00.0070.01811.30
5.3.290.0050.02111.99
5.3.280.0030.02511.94
5.3.270.0040.02211.95
5.3.260.0040.03011.95
5.3.250.0040.02311.95
5.3.240.0040.02411.95
5.3.230.0060.02411.94
5.3.220.0020.02511.93
5.3.210.0040.02911.93
5.3.200.0050.02011.93
5.3.190.0040.02111.92
5.3.180.0050.01911.93
5.3.170.0040.02011.92
5.3.160.0050.02111.92
5.3.150.0020.02811.92
5.3.140.0020.02511.92
5.3.130.0040.02211.92
5.3.120.0040.02311.92
5.3.110.0050.02111.92
5.3.100.0040.02211.65
5.3.90.0020.02211.63
5.3.80.0050.01911.63
5.3.70.0070.01811.62
5.3.60.0060.02311.62
5.3.50.0040.02211.59
5.3.40.0040.02011.59
5.3.30.0050.01911.56
5.3.20.0060.02111.45
5.3.10.0030.02111.43
5.3.00.0070.02011.43
5.2.170.0020.01910.18
5.2.160.0020.01910.18
5.2.150.0050.01710.18
5.2.140.0050.01610.17
5.2.130.0020.01810.16
5.2.120.0040.01610.16
5.2.110.0040.01710.16
5.2.100.0020.01710.16
5.2.90.0040.01910.16
5.2.80.0050.01610.15
5.2.70.0020.02010.16
5.2.60.0040.01610.13
5.2.50.0020.01910.12
5.2.40.0040.01710.11
5.2.30.0050.01510.09
5.2.20.0040.01610.09
5.2.10.0050.02010.05
5.2.00.0020.0199.98
5.1.60.0070.0149.62
5.1.50.0060.0159.62
5.1.40.0040.0149.61
5.1.30.0030.0169.78
5.1.20.0020.0169.79
5.1.10.0060.0139.65
5.1.00.0020.0159.66
5.0.50.0020.0128.89
5.0.40.0020.0138.83
5.0.30.0020.0188.73
5.0.20.0020.0148.72
5.0.10.0070.0098.71
5.0.00.0050.0158.70
4.4.90.0020.0097.98
4.4.80.0030.0097.96
4.4.70.0020.0117.96
4.4.60.0020.0097.96
4.4.50.0030.0087.97
4.4.40.0040.0147.94
4.4.30.0040.0077.97
4.4.20.0040.0098.01
4.4.10.0020.0098.01
4.4.00.0020.0157.97
4.3.110.0030.0097.92
4.3.100.0030.0107.92
4.3.90.0020.0117.90
4.3.80.0010.0187.88
4.3.70.0050.0127.90
4.3.60.0050.0097.90
4.3.50.0020.0097.90
4.3.40.0040.0127.86
4.3.30.0010.0117.23
4.3.20.0030.0097.22
4.3.10.0020.0097.20
4.3.00.0000.01313.22

preferences:
41.91 ms | 401 KiB | 5 Q