3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '-1'; if($price_check > '0' || $filter='0') if($price_check < '500' || $filter='200-500')$filter='501'; 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.0070.00718.56
8.3.50.0120.00521.99
8.3.40.0070.00718.57
8.3.30.0070.01019.27
8.3.20.0070.00020.16
8.3.10.0070.00021.76
8.3.00.0040.00418.03
8.2.180.0060.01216.63
8.2.170.0070.01022.96
8.2.160.0130.00320.39
8.2.150.0070.00024.18
8.2.140.0070.00324.66
8.2.130.0030.00526.16
8.2.120.0040.00421.08
8.2.110.0040.00422.29
8.2.100.0080.00317.78
8.2.90.0000.00819.06
8.2.80.0000.00817.97
8.2.70.0000.00817.59
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0050.00318.16
8.2.30.0000.01018.37
8.2.20.0040.00417.72
8.2.10.0000.00717.95
8.2.00.0040.00417.68
8.1.280.0120.00325.92
8.1.270.0050.00323.79
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00323.80
8.1.230.0060.00619.15
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0040.00418.35
8.1.160.0040.00422.08
8.1.150.0000.00718.84
8.1.140.0040.00417.39
8.1.130.0000.00717.83
8.1.120.0070.00017.37
8.1.110.0000.00817.44
8.1.100.0040.00417.49
8.1.90.0070.00017.52
8.1.80.0050.00217.36
8.1.70.0040.00417.43
8.1.60.0060.00317.52
8.1.50.0050.00217.49
8.1.40.0000.00817.56
8.1.30.0040.00417.68
8.1.20.0000.00817.57
8.1.10.0040.00417.55
8.1.00.0040.00417.40
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0040.00417.18
8.0.260.0000.00617.26
8.0.250.0070.00016.96
8.0.240.0070.00016.83
8.0.230.0020.00516.84
8.0.220.0030.00316.95
8.0.210.0030.00316.93
8.0.200.0030.00316.94
8.0.190.0040.00416.85
8.0.180.0000.00716.92
8.0.170.0000.00716.96
8.0.160.0000.00716.93
8.0.150.0000.00716.73
8.0.140.0040.00416.85
8.0.130.0050.00313.30
8.0.120.0040.00416.83
8.0.110.0070.00016.96
8.0.100.0000.00816.94
8.0.90.0000.00816.79
8.0.80.0170.00316.87
8.0.70.0000.00716.77
8.0.60.0040.00416.94
8.0.50.0070.00016.77
8.0.30.0070.01317.21
8.0.20.0050.01417.40
8.0.10.0040.00416.97
8.0.00.0140.00516.72
7.4.330.0060.00015.07
7.4.320.0060.00016.57
7.4.300.0060.00016.49
7.4.290.0040.00416.53
7.4.280.0000.00716.51
7.4.270.0040.00416.67
7.4.260.0030.00316.48
7.4.250.0000.00716.37
7.4.240.0030.00416.57
7.4.230.0000.00716.70
7.4.220.0100.01616.55
7.4.210.0100.00316.63
7.4.200.0000.00716.63
7.4.160.0080.00816.56
7.4.150.0170.00017.40
7.4.140.0080.00917.86
7.4.130.0140.01116.48
7.4.120.0080.00916.58
7.4.110.0100.00716.60
7.4.100.0090.01016.55
7.4.90.0120.00616.51
7.4.80.0190.00519.39
7.4.70.0060.01016.57
7.4.60.0060.01016.58
7.4.50.0000.00516.62
7.4.40.0030.01316.34
7.4.30.0090.00616.50
7.4.00.0030.01314.79
7.3.330.0060.00013.05
7.3.320.0030.00312.88
7.3.310.0000.00716.16
7.3.300.0000.00616.21
7.3.290.0070.00716.23
7.3.280.0090.00716.18
7.3.270.0130.00317.40
7.3.260.0100.00716.56
7.3.250.0110.00716.37
7.3.240.0130.00516.25
7.3.230.0150.00616.39
7.3.210.0140.00416.52
7.3.200.0060.01019.39
7.3.190.0100.00616.30
7.3.180.0060.00916.38
7.3.170.0040.01716.27
7.3.160.0090.00616.21
7.3.120.0030.01114.99
7.3.10.0000.01116.66
7.3.00.0060.00916.66
7.2.330.0070.01016.46
7.2.320.0090.01216.72
7.2.310.0030.01316.55
7.2.300.0080.00816.54
7.2.290.0080.01516.34
7.2.130.0090.00616.54
7.2.120.0070.00716.75
7.2.110.0030.00916.61
7.2.100.0070.00516.69
7.2.90.0040.01116.63
7.2.80.0020.00916.43
7.2.70.0030.00916.62
7.2.60.0170.00616.68
7.2.50.0040.01116.83
7.2.40.0070.00616.73
7.2.30.0050.00916.63
7.2.20.0060.00816.74
7.2.10.0030.00616.91
7.2.00.0090.00617.76
7.1.250.0030.01015.59
7.1.240.0090.00315.79
7.1.230.0030.00615.78
7.1.220.0040.00415.50
7.1.210.0060.00315.67
7.1.200.0100.00515.66
7.1.190.0060.00615.60
7.1.180.0060.00315.68
7.1.170.0030.01015.34
7.1.160.0030.01215.41
7.1.150.0050.00515.68
7.1.140.0060.00615.80
7.1.130.0000.01415.57
7.1.120.0060.00615.68
7.1.110.0070.00315.92
7.1.100.0070.00516.74
7.1.90.0040.01115.59
7.1.80.0060.00615.51
7.1.70.0030.00816.29
7.1.60.0060.01117.50
7.1.50.0090.00416.04
7.1.40.0000.01115.91
7.1.30.0000.00815.67
7.1.20.0100.00315.61
7.1.10.0040.00815.86
7.1.00.0060.04019.11
7.0.320.0040.00815.27
7.0.310.0120.00315.39
7.0.300.0030.00915.33
7.0.290.0000.00815.45
7.0.280.0040.01115.56
7.0.270.0070.00715.42
7.0.260.0090.00315.63
7.0.250.0070.00715.52
7.0.240.0070.00715.23
7.0.230.0030.00715.30
7.0.220.0030.00815.38
7.0.210.0070.00715.44
7.0.200.0060.00616.14
7.0.190.0070.00315.33
7.0.180.0060.00615.32
7.0.170.0060.00615.45
7.0.160.0080.00315.31
7.0.150.0030.00715.21
7.0.140.0040.04118.72
7.0.130.0040.00715.46
7.0.120.0040.01115.28
7.0.110.0090.00015.28
7.0.100.0040.01115.31
7.0.90.0000.01115.36
7.0.80.0050.00515.45
7.0.70.0060.00315.13
7.0.60.0070.04917.56
7.0.50.0060.02116.62
7.0.40.0050.04216.73
7.0.30.0140.02916.87
7.0.20.0180.02716.61
7.0.10.0070.04616.63
7.0.00.0050.04216.79
5.6.380.0060.00314.25
5.6.370.0030.01013.93
5.6.360.0070.00714.37
5.6.350.0030.01014.64
5.6.340.0000.01214.58
5.6.330.0000.00714.33
5.6.320.0040.00713.99
5.6.310.0060.00614.39
5.6.300.0090.00314.20
5.6.290.0040.00414.52
5.6.280.0050.04017.77
5.6.270.0140.00014.46
5.6.260.0070.00714.38
5.6.250.0040.01114.46
5.6.240.0060.00614.07
5.6.230.0100.00314.23
5.6.220.0100.00314.20
5.6.210.0080.04117.49
5.6.200.0100.02516.24
5.6.190.0090.03317.29
5.6.180.0190.03717.45
5.6.170.0140.02117.27
5.6.160.0040.03717.37
5.6.150.0050.03616.35
5.6.140.0120.03716.20
5.6.130.0030.02616.27
5.6.120.0020.03717.65
5.6.110.0020.04817.69
5.6.100.0120.04217.47
5.6.90.0050.04117.54
5.6.80.0060.02217.32
5.6.70.0000.01614.07
5.6.60.0110.00414.38
5.6.50.0040.00714.14
5.6.40.0030.00714.13
5.6.30.0030.01214.01
5.6.20.0060.00614.35
5.6.10.0000.01214.50
5.6.00.0040.00814.01
5.5.380.0040.00710.98
5.5.370.0000.00711.20
5.5.360.0000.00710.93
5.5.350.0030.03815.66
5.5.340.0030.04314.60
5.5.330.0070.04315.83
5.5.320.0270.02215.72
5.5.310.0220.03715.74
5.5.300.0090.03914.44
5.5.290.0030.04014.55
5.5.280.0060.04515.89
5.5.270.0090.04315.99
5.5.260.0060.04115.95
5.5.250.0030.02515.80
5.5.240.0130.04015.52
5.5.230.0040.00410.99
5.5.220.0030.00310.97
5.5.210.0070.00010.84
5.5.200.0030.01010.79
5.5.190.0040.00811.08
5.5.180.0080.00411.08
5.5.170.0070.00614.33
5.5.160.0000.00910.76
5.5.150.0000.01111.11
5.5.140.0070.00311.09
5.5.130.0050.00511.13
5.5.120.0000.01110.88
5.5.110.0030.00310.64
5.5.100.0040.00810.86
5.5.90.0030.00611.12
5.5.80.0060.00611.00
5.5.70.0030.00710.89
5.5.60.0060.00610.95
5.5.50.0060.00310.89
5.5.40.0070.00011.10
5.5.30.0000.01011.00
5.5.20.0030.00611.02
5.5.10.0030.00911.02
5.5.00.0030.00311.12
5.4.450.0470.02715.27
5.4.440.0150.02515.38
5.4.430.0270.02114.92
5.4.420.0150.02615.31
5.4.410.0350.02315.14
5.4.400.0160.02015.07
5.4.390.0240.02115.04
5.4.380.0120.02914.78
5.4.370.0070.03414.72
5.4.360.0080.03514.76
5.4.350.0060.03114.63
5.4.340.0060.02814.71
5.4.330.0060.00310.70
5.4.320.0100.01911.71
5.4.310.0080.02011.63
5.4.300.0030.02311.51
5.4.290.0040.02211.52
5.4.280.0070.01911.55
5.4.270.0040.02211.61
5.4.260.0060.02211.62
5.4.250.0080.01911.54
5.4.240.0040.02111.67
5.4.230.0070.01911.69
5.4.220.0040.02311.53
5.4.210.0050.02111.61
5.4.200.0070.02011.71
5.4.190.0060.02011.64
5.4.180.0060.01911.61
5.4.170.0040.02111.49
5.4.160.0100.01711.60
5.4.150.0060.01711.46
5.4.140.0060.02011.31
5.4.130.0030.02411.34
5.4.120.0030.02111.44
5.4.110.0050.01911.46
5.4.100.0040.02011.43
5.4.90.0020.02511.52
5.4.80.0040.02111.45
5.4.70.0050.01811.33
5.4.60.0050.01811.47
5.4.50.0030.01911.48
5.4.40.0050.02111.38
5.4.30.0060.01811.37
5.4.20.0060.01811.41
5.4.10.0060.01811.44
5.4.00.0050.01911.14
5.3.290.0060.02211.56
5.3.280.0060.02011.55
5.3.270.0070.02011.62
5.3.260.0050.02111.57
5.3.250.0050.02011.52
5.3.240.0050.02011.51
5.3.230.0040.02111.51
5.3.220.0060.01911.49
5.3.210.0050.02111.50
5.3.200.0050.02011.49
5.3.190.0080.01911.49
5.3.180.0040.02011.51
5.3.170.0020.02111.49
5.3.160.0050.02111.56
5.3.150.0040.02011.59
5.3.140.0050.01911.53
5.3.130.0060.02011.48
5.3.120.0040.02111.49
5.3.110.0060.02011.51
5.3.100.0050.02211.21
5.3.90.0050.01911.25
5.3.80.0060.01811.19
5.3.70.0020.02511.19
5.3.60.0040.02011.23
5.3.50.0050.01911.15
5.3.40.0060.01911.16
5.3.30.0020.02311.14
5.3.20.0040.02011.02
5.3.10.0050.02011.00
5.3.00.0030.02010.99
5.2.170.0040.0179.74
5.2.160.0040.0169.74
5.2.150.0060.0159.74
5.2.140.0020.0199.74
5.2.130.0030.0189.72
5.2.120.0040.0159.72
5.2.110.0040.0169.72
5.2.100.0020.0169.72
5.2.90.0050.0169.72
5.2.80.0040.0169.72
5.2.70.0040.0179.72
5.2.60.0020.0189.70
5.2.50.0060.0159.68
5.2.40.0050.0169.67
5.2.30.0040.0179.66
5.2.20.0050.0149.65
5.2.10.0050.0149.62
5.2.00.0060.0149.54
5.1.60.0020.0139.18
5.1.50.0020.0149.18
5.1.40.0040.0149.18
5.1.30.0020.0159.35
5.1.20.0030.0149.36
5.1.10.0030.0159.22
5.1.00.0050.0149.22
5.0.50.0020.0118.46
5.0.40.0040.0098.39
5.0.30.0030.0168.30
5.0.20.0010.0128.28
5.0.10.0020.0128.27
5.0.00.0020.0168.27
4.4.90.0030.0097.54
4.4.80.0020.0117.53
4.4.70.0030.0087.53
4.4.60.0030.0107.53
4.4.50.0020.0087.54
4.4.40.0020.0147.51
4.4.30.0040.0077.53
4.4.20.0050.0077.58
4.4.10.0010.0117.58
4.4.00.0040.0147.53
4.3.110.0010.0117.49
4.3.100.0000.0117.49
4.3.90.0030.0087.47
4.3.80.0040.0127.45
4.3.70.0020.0097.47
4.3.60.0030.0077.46
4.3.50.0010.0107.47
4.3.40.0020.0147.42
4.3.30.0010.0106.79
4.3.20.0020.0096.78
4.3.10.0020.0086.77
4.3.00.0020.00812.79

preferences:
45.46 ms | 401 KiB | 5 Q