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.0030.01216.88
8.3.50.0100.00521.99
8.3.40.0000.01418.84
8.3.30.0030.01719.04
8.3.20.0080.00020.29
8.3.10.0050.00321.73
8.3.00.0080.00017.80
8.2.180.0150.00616.50
8.2.170.0100.00322.96
8.2.160.0070.00720.55
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0110.00426.16
8.2.120.0000.00721.00
8.2.110.0090.00021.00
8.2.100.0040.00817.72
8.2.90.0080.00019.17
8.2.80.0090.00017.97
8.2.70.0040.00417.38
8.2.60.0070.00318.04
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0050.00518.12
8.2.20.0030.00517.75
8.2.10.0070.00018.10
8.2.00.0000.00717.62
8.1.280.0090.00625.92
8.1.270.0000.00923.79
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00317.36
8.1.230.0110.00017.64
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0090.00317.36
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0070.00022.01
8.1.150.0050.00218.75
8.1.140.0040.00417.32
8.1.130.0060.00617.45
8.1.120.0070.00317.54
8.1.110.0030.00517.42
8.1.100.0000.00717.36
8.1.90.0080.00017.43
8.1.80.0000.00717.46
8.1.70.0070.00017.43
8.1.60.0050.00317.63
8.1.50.0040.00417.45
8.1.40.0080.00017.34
8.1.30.0040.00417.54
8.1.20.0070.00017.54
8.1.10.0000.00717.48
8.1.00.0000.00717.41
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00518.35
8.0.270.0000.00817.18
8.0.260.0030.00316.80
8.0.250.0070.00016.84
8.0.240.0030.00316.88
8.0.230.0030.00316.93
8.0.220.0030.00316.87
8.0.210.0030.00316.80
8.0.200.0000.00616.82
8.0.190.0040.00417.00
8.0.180.0040.00416.90
8.0.170.0000.00816.92
8.0.160.0050.00316.91
8.0.150.0050.00316.83
8.0.140.0030.00316.75
8.0.130.0030.00313.26
8.0.120.0070.00016.74
8.0.110.0000.00716.80
8.0.100.0040.00416.80
8.0.90.0030.00316.92
8.0.80.0120.00916.87
8.0.70.0050.00216.72
8.0.60.0030.00316.87
8.0.50.0040.00416.87
8.0.30.0150.00617.07
8.0.20.0110.00817.40
8.0.10.0000.00716.87
8.0.00.0070.01016.92
7.4.330.0000.00515.00
7.4.320.0030.00316.52
7.4.300.0000.00616.39
7.4.290.0040.00416.65
7.4.280.0050.00316.56
7.4.270.0030.00316.50
7.4.260.0090.00016.59
7.4.250.0050.00216.36
7.4.240.0060.00216.53
7.4.230.0030.00316.69
7.4.220.0090.00916.60
7.4.210.0110.00316.71
7.4.200.0030.00316.34
7.4.160.0090.01316.30
7.4.150.0030.02017.40
7.4.140.0090.00817.86
7.4.130.0120.00616.43
7.4.120.0120.00516.58
7.4.110.0060.01016.32
7.4.100.0130.01016.29
7.4.90.0060.01016.56
7.4.80.0090.01219.39
7.4.70.0110.00816.33
7.4.60.0120.00416.35
7.4.50.0040.00016.55
7.4.40.0170.00016.62
7.4.30.0150.00316.61
7.4.00.0060.01015.03
7.3.330.0060.00013.12
7.3.320.0060.00013.13
7.3.310.0000.00716.32
7.3.300.0030.00316.08
7.3.290.0080.00616.14
7.3.280.0080.00816.21
7.3.270.0080.00917.40
7.3.260.0100.01016.47
7.3.250.0130.00716.21
7.3.240.0100.00716.23
7.3.230.0130.00316.39
7.3.210.0110.00916.31
7.3.200.0060.01019.39
7.3.190.0090.00616.34
7.3.180.0110.00416.30
7.3.170.0040.01116.27
7.3.160.0060.01216.31
7.3.120.0060.00614.70
7.3.10.0060.00616.38
7.3.00.0040.00916.56
7.2.330.0100.00716.51
7.2.320.0080.00816.28
7.2.310.0030.01316.56
7.2.300.0110.00616.34
7.2.290.0060.00916.65
7.2.130.0150.00316.84
7.2.120.0070.00716.74
7.2.110.0000.01216.61
7.2.100.0120.00316.87
7.2.90.0000.01216.71
7.2.80.0110.00416.77
7.2.70.0080.00416.80
7.2.60.0030.01016.53
7.2.50.0170.00316.76
7.2.40.0070.00416.84
7.2.30.0120.00416.59
7.2.20.0130.00716.69
7.2.10.0060.00616.52
7.2.00.0060.00517.94
7.1.250.0000.00915.86
7.1.100.0000.01318.19
7.1.70.0000.01117.16
7.1.60.0040.00719.25
7.1.50.0070.01416.80
7.1.00.0000.07722.48
7.0.200.0000.01016.88
7.0.140.0030.07322.10
7.0.60.0130.06019.99
7.0.50.0030.04017.79
7.0.40.0070.07720.04
7.0.30.0230.05720.04
7.0.20.0330.07320.30
7.0.10.0030.08720.00
7.0.00.0030.04020.01
5.6.280.0070.07021.11
5.6.210.0070.05020.64
5.6.200.0030.07018.20
5.6.190.0100.06720.41
5.6.180.0070.08720.65
5.6.170.0230.04320.38
5.6.160.0100.04320.41
5.6.150.0100.05318.21
5.6.140.0030.06718.18
5.6.130.0070.05318.17
5.6.120.0100.08020.89
5.6.110.0170.07020.96
5.6.100.0070.07320.99
5.6.90.0000.07020.96
5.6.80.0070.03720.39
5.5.350.0230.06720.41
5.5.340.0000.04018.00
5.5.330.0000.07320.19
5.5.320.0030.05020.27
5.5.310.0470.06720.20
5.5.300.0070.06317.92
5.5.290.0170.07017.99
5.5.280.0030.05720.67
5.5.270.0100.05720.78
5.5.260.0170.07320.63
5.5.250.0100.07720.61
5.5.240.0070.07720.36
5.4.450.0870.06019.13
5.4.440.0700.05719.56
5.4.430.0630.06019.53
5.4.420.0630.05719.67
5.4.410.0800.05019.50
5.4.400.0400.05018.77
5.4.390.0570.05718.68
5.4.380.0030.05718.53
5.4.370.0100.05318.68
5.4.360.0000.05018.68
5.4.350.0250.10611.97
5.4.340.0090.03311.97
5.4.320.0070.03912.46
5.4.310.0060.03812.45
5.4.300.0110.03212.45
5.4.290.0080.04112.45
5.4.280.0050.03612.34
5.4.270.0050.03912.34
5.4.260.0060.03712.35
5.4.250.0020.04112.35
5.4.240.0050.03712.35
5.4.230.0090.03512.34
5.4.220.0070.03512.34
5.4.210.0040.05112.34
5.4.200.0090.03712.34
5.4.190.0050.03712.33
5.4.180.0070.03512.34
5.4.170.0080.03312.34
5.4.160.0080.03312.34
5.4.150.0050.04012.34
5.4.140.0050.04812.02
5.4.130.0080.03512.01
5.4.120.0070.03511.96
5.4.110.0110.04111.96
5.4.100.0070.03911.96
5.4.90.0090.03311.96
5.4.80.0060.03611.96
5.4.70.0050.03611.96
5.4.60.0030.03811.96
5.4.50.0080.03311.96
5.4.40.0060.04311.95
5.4.30.0040.04911.95
5.4.20.0050.03911.95
5.4.10.0050.03411.95
5.4.00.0030.03911.44
5.3.290.0060.03812.80
5.3.280.0020.04112.71
5.3.270.0060.04012.72
5.3.260.0070.03812.72
5.3.250.0040.03912.72
5.3.240.0110.03212.72
5.3.230.0050.04012.71
5.3.220.0060.03812.68
5.3.210.0070.03912.68
5.3.200.0070.03712.68
5.3.190.0070.04212.68
5.3.180.0100.04912.67
5.3.170.0100.04712.67
5.3.160.0060.03912.67
5.3.150.0070.04712.67
5.3.140.0090.03412.66
5.3.130.0070.03812.66
5.3.120.0060.03912.66
5.3.110.0060.03912.66
5.3.100.0070.03512.12
5.3.90.0080.03312.08
5.3.80.0030.03912.07
5.3.70.0050.04012.07
5.3.60.0050.03712.06
5.3.50.0050.04512.00
5.3.40.0060.03612.00
5.3.30.0060.04411.95
5.3.20.0050.03711.72
5.3.10.0070.03411.69
5.3.00.0070.03511.68
5.2.170.0050.0329.18
5.2.160.0030.0329.18
5.2.150.0060.0349.18
5.2.140.0050.0349.17
5.2.130.0080.0289.14
5.2.120.0040.0299.14
5.2.110.0040.0309.14
5.2.100.0040.0299.14
5.2.90.0030.0309.14
5.2.80.0060.0319.14
5.2.70.0050.0309.14
5.2.60.0050.0299.09
5.2.50.0090.0269.05
5.2.40.0100.0339.03
5.2.30.0050.0289.01
5.2.20.0060.0289.00
5.2.10.0060.0298.92
5.2.00.0040.0318.78
5.1.60.0020.0278.06
5.1.50.0030.0258.05
5.1.40.0030.0258.04
5.1.30.0010.0288.39
5.1.20.0050.0268.41
5.1.10.0030.0278.14
5.1.00.0050.0258.13
5.0.50.0050.0196.62
5.0.40.0040.0196.48
5.0.30.0040.0306.29
5.0.20.0030.0206.26
5.0.10.0050.0236.23
5.0.00.0020.0336.23
4.4.90.0010.0174.77
4.4.80.0040.0144.75
4.4.70.0010.0184.75
4.4.60.0020.0174.76
4.4.50.0040.0144.77
4.4.40.0040.0244.71
4.4.30.0040.0154.76
4.4.20.0010.0204.85
4.4.10.0030.0154.85
4.4.00.0030.0254.75
4.3.110.0020.0164.67
4.3.100.0020.0164.66
4.3.90.0010.0164.63
4.3.80.0030.0244.58
4.3.70.0050.0124.63
4.3.60.0020.0164.63
4.3.50.0030.0154.63
4.3.40.0020.0254.53
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0020.0163.22
4.3.00.0130.0237.12

preferences:
44.05 ms | 401 KiB | 5 Q