3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = '2020-03-30' >= date("Y-m-d",strtotime("-1 week")) ? 'Yes' : 'No'; echo $result;

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.4.20.0150.00619.82
8.4.10.0090.00017.96
8.3.150.0150.00418.81
8.3.140.0030.00616.67
8.3.130.0080.00318.77
8.3.120.0040.00420.61
8.3.110.0030.00620.94
8.3.100.0050.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00618.43
8.3.70.0120.00316.75
8.3.60.0110.01116.88
8.3.50.0120.00823.65
8.3.40.0090.00619.18
8.3.30.0090.00618.66
8.3.20.0030.00520.81
8.3.10.0100.00620.21
8.3.00.0030.00620.52
8.2.260.0120.00619.11
8.2.250.0040.00418.52
8.2.240.0040.00418.78
8.2.230.0100.01022.58
8.2.220.0060.00337.54
8.2.210.0100.00026.77
8.2.200.0090.00316.50
8.2.190.0070.01116.88
8.2.180.0150.00616.63
8.2.170.0110.00422.96
8.2.160.0120.00321.22
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0100.00318.16
8.2.110.0000.01120.93
8.2.100.0110.00017.84
8.2.90.0000.00817.75
8.2.80.0000.00819.09
8.2.70.0040.00418.17
8.2.60.0040.00418.03
8.2.50.0060.00318.10
8.2.40.0040.00421.32
8.2.30.0040.00419.41
8.2.20.0060.00318.09
8.2.10.0070.00019.34
8.2.00.0040.00419.47
8.1.310.0090.00016.91
8.1.300.0080.00020.20
8.1.290.0090.00330.84
8.1.280.0080.00825.92
8.1.270.0040.00422.20
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0060.00324.04
8.1.230.0120.00022.82
8.1.220.0040.00417.91
8.1.210.0050.00318.77
8.1.200.0030.00617.61
8.1.190.0040.00417.48
8.1.180.0040.00418.99
8.1.170.0030.00518.84
8.1.160.0060.00319.04
8.1.150.0040.00419.06
8.1.140.0040.00419.01
8.1.130.0040.00419.00
8.1.120.0000.00917.65
8.1.110.0050.00317.66
8.1.100.0040.00717.71
8.1.90.0000.01117.73
8.1.80.0050.00217.59
8.1.70.0000.00717.74
8.1.60.0080.00017.72
8.1.50.0040.00417.70
8.1.40.0060.00317.70
8.1.30.0040.00417.78
8.1.20.0000.00717.89
8.1.10.0060.00317.71
8.1.00.0000.01117.67
8.0.300.0000.00818.77
8.0.290.0050.00316.88
8.0.280.0000.00718.63
8.0.270.0040.00416.92
8.0.260.0000.00818.51
8.0.250.0030.00317.21
8.0.240.0030.00317.27
8.0.230.0000.00717.23
8.0.220.0050.00217.03
8.0.210.0040.00416.98
8.0.200.0000.00717.16
8.0.190.0040.00417.19
8.0.180.0000.00917.17
8.0.170.0060.00317.08
8.0.160.0040.00417.13
8.0.150.0000.00717.04
8.0.140.0000.00817.06
8.0.130.0000.00513.53
8.0.120.0040.00417.01
8.0.110.0040.00416.95
8.0.100.0020.00517.03
8.0.90.0080.00017.01
8.0.80.0090.01117.10
8.0.70.0000.00817.18
8.0.60.0000.00717.00
8.0.50.0080.00016.94
8.0.30.0080.00817.04
8.0.20.0150.00317.33
8.0.10.0000.00717.11
8.0.00.0110.00816.73
7.4.330.0000.00515.55
7.4.320.0000.00616.78
7.4.300.0030.00316.70
7.4.290.0040.00416.77
7.4.280.0070.00016.58
7.4.270.0000.00716.70
7.4.260.0050.00013.30
7.4.250.0080.00016.64
7.4.240.0020.00616.71
7.4.230.0030.00316.43
7.4.220.0000.00716.74
7.4.210.0060.00816.72
7.4.200.0030.00416.85
7.4.130.0100.00916.77
7.4.120.0100.01116.68
7.4.110.0130.00316.72
7.4.100.0070.01716.76
7.4.90.0110.00816.76
7.4.80.0150.00419.39
7.4.70.0160.00316.82
7.4.60.0060.01316.69
7.4.50.0060.00616.55
7.4.40.0070.01416.69
7.4.30.0080.01116.67
7.4.20.0050.01516.67
7.4.10.0100.01016.64
7.4.00.0130.00816.60
7.3.330.0040.00416.36
7.3.320.0020.00213.27
7.3.310.0080.00016.54
7.3.300.0030.00316.34
7.3.290.0060.00916.44
7.3.280.0120.00316.41
7.3.260.0140.00316.44
7.3.240.0080.01016.65
7.3.230.0120.00616.44
7.3.210.0110.00516.59
7.3.200.0030.01316.44
7.3.190.0140.00416.62
7.3.180.0100.00616.43
7.3.170.0120.00416.79
7.3.160.0060.00916.55
7.3.150.0110.00816.62
7.3.140.0090.00916.61
7.3.130.0130.01016.62
7.3.120.0110.00916.56
7.3.110.0150.00616.54
7.3.100.0090.01116.52
7.3.90.0110.00816.56
7.3.80.0120.00616.51
7.3.70.0130.00716.41
7.3.60.0090.00916.61
7.3.50.0110.00816.54
7.3.40.0130.00516.52
7.3.30.0130.00616.46
7.3.20.0080.01116.49
7.3.10.0100.00816.43
7.3.00.0130.00616.51
7.2.330.0110.00716.86
7.2.320.0140.00416.52
7.2.310.0130.00316.73
7.2.300.0110.01316.82
7.2.290.0090.00916.85
7.2.280.0090.01016.66
7.2.270.0120.00816.59
7.2.260.0100.01016.78
7.2.250.0080.01416.74
7.2.240.0120.01016.70
7.2.230.0100.01016.60
7.2.220.0090.01216.67
7.2.210.0100.01116.80
7.2.200.0130.01016.74
7.2.190.0110.01016.67
7.2.180.0110.00716.68
7.2.170.0070.01316.68
7.2.160.0150.00516.75
7.2.150.0110.00916.79
7.2.140.0060.01416.81
7.2.130.0110.00916.67
7.2.120.0070.01616.71
7.2.110.0110.01216.75
7.2.100.0120.00916.70
7.2.90.0120.01016.76
7.2.80.0110.01016.81
7.2.70.0130.00716.71
7.2.60.0090.01116.72
7.2.50.0120.01116.70
7.2.40.0160.01016.84
7.2.30.0090.01216.77
7.2.20.0140.00816.74
7.2.10.0100.01316.74
7.2.00.0110.01016.67
7.1.330.0120.01215.78
7.1.320.0150.00615.64
7.1.310.0120.01015.66
7.1.300.0140.00715.63
7.1.290.0200.00815.68
7.1.280.0040.01415.69
7.1.270.0140.00715.75
7.1.260.0130.00715.46
7.1.250.0070.01415.59
7.1.240.0060.01415.47
7.1.230.0140.00715.56
7.1.220.0350.00615.35
7.1.210.0140.00615.51
7.1.200.0100.01015.52
7.1.190.0090.01415.59
7.1.180.0110.01115.53
7.1.170.0160.00515.57
7.1.160.0100.01115.47
7.1.150.0100.00915.57
7.1.140.0140.00915.52
7.1.130.0120.01015.52
7.1.120.0080.01115.60
7.1.110.0080.01315.52
7.1.100.0120.01315.67
7.1.90.0120.00615.48
7.1.80.0130.00915.54
7.1.70.0100.01115.49
7.1.60.0150.00715.54
7.1.50.0080.01615.53
7.1.40.0110.00815.39
7.1.30.0120.00915.58
7.1.20.0150.00615.50
7.1.10.0090.01315.46
7.1.00.0100.01115.36
7.0.330.0100.00915.12
7.0.320.0120.00915.17
7.0.310.0160.00515.08
7.0.300.0090.01215.04
7.0.290.0090.01115.05
7.0.280.0130.00615.20
7.0.270.0100.01215.17
7.0.260.0070.01215.23
7.0.250.0130.00915.25
7.0.240.0330.00515.22
7.0.230.0090.00915.21
7.0.220.0170.00315.29
7.0.210.0120.00815.12
7.0.200.0130.00715.17
7.0.190.0120.00715.12
7.0.180.0140.00815.26
7.0.170.0110.00915.12
7.0.160.0130.00915.04
7.0.150.0080.01215.28
7.0.140.0100.00915.20
7.0.130.0100.01015.16
7.0.120.0080.01215.02
7.0.110.0130.00715.11
7.0.100.0100.01215.10
7.0.90.0090.00815.15
7.0.80.0100.01015.04
7.0.70.0080.01615.10
7.0.60.0120.00915.13
7.0.50.0150.00815.16
7.0.40.0160.00715.27
7.0.30.0160.00615.35
7.0.20.0130.00615.29
7.0.10.0270.01615.20
7.0.00.0140.01015.24
5.6.400.0150.01015.86
5.6.390.0090.01515.67
5.6.380.0070.01815.76
5.6.370.0110.01115.85
5.6.360.0160.01016.03
5.6.350.0130.00916.05
5.6.340.0130.01215.80
5.6.330.0090.01315.88
5.6.320.0120.01015.95
5.6.310.0150.00815.75
5.6.300.0080.01515.69
5.6.290.0060.01515.86
5.6.280.0070.01416.01
5.6.270.0070.01615.76
5.6.260.0060.01615.91
5.6.250.0170.00615.81
5.6.240.0120.01215.83
5.6.230.0140.00815.80
5.6.220.0170.00515.81
5.6.210.0110.01315.87
5.6.200.0150.00815.97
5.6.190.0130.01416.08
5.6.180.0140.01216.07
5.6.170.0210.00615.98
5.6.160.0160.00615.91
5.6.150.0140.01115.90
5.6.140.0080.01415.99
5.6.130.0100.01415.90
5.6.120.0110.01216.05
5.6.110.0110.01315.97
5.6.100.0170.00715.94
5.6.90.0180.01016.14
5.6.80.0190.00515.79
5.6.70.0150.01015.77
5.6.60.0080.01615.91
5.6.50.0110.01215.74
5.6.40.0190.00315.91
5.6.30.0130.01015.93
5.6.20.0130.01115.84
5.6.10.0120.01015.79
5.6.00.0130.01115.96
5.5.380.0180.01015.81
5.5.370.0160.01115.68
5.5.360.0190.00615.58
5.5.350.0120.01515.91
5.5.340.0150.01315.99
5.5.330.0160.00915.82
5.5.320.0090.01815.86
5.5.310.0160.01115.78
5.5.300.0170.01515.72
5.5.290.0180.00815.85
5.5.280.0150.00915.76
5.5.270.0090.01515.74
5.5.260.0190.00915.64
5.5.250.0180.01415.77
5.5.240.0130.01515.89
5.5.230.0180.00615.76
5.5.220.0160.01115.61
5.5.210.0120.01215.72
5.5.200.0150.01015.86
5.5.190.0180.00715.87
5.5.180.0130.01015.89
5.5.170.0130.01115.67
5.5.160.0110.01315.69
5.5.150.0120.01415.53
5.5.140.0190.00615.71
5.5.130.0170.01015.75
5.5.120.0100.01915.68
5.5.110.0140.01015.69
5.5.100.0160.01115.71
5.5.90.0180.01115.63
5.5.80.0190.00815.65
5.5.70.0140.01415.69
5.5.60.0180.01215.87
5.5.50.0140.01415.84
5.5.40.0190.00815.62
5.5.30.0090.01415.81
5.5.20.0120.01315.81
5.5.10.0130.01415.81
5.5.00.0150.01115.59
5.4.450.0080.01112.70
5.4.440.0140.00612.57
5.4.430.0140.00712.74
5.4.420.0150.00812.52
5.4.410.0080.01212.67
5.4.400.0120.00712.59
5.4.390.0150.00612.60
5.4.380.0160.00112.49
5.4.370.0060.01112.50
5.4.360.0110.00912.57
5.4.350.0100.00812.64
5.4.340.0050.01512.66
5.4.330.0140.00512.50
5.4.320.0150.00412.62
5.4.310.0090.00812.58
5.4.300.0100.00712.56
5.4.290.0080.00912.52
5.4.280.0160.00412.49
5.4.270.0100.01012.57
5.4.260.0130.00812.51
5.4.250.0090.01012.43
5.4.240.0150.00412.65
5.4.230.0120.01012.59
5.4.220.0110.00812.52
5.4.210.0140.00512.56
5.4.200.0070.01112.55
5.4.190.0090.00812.52
5.4.180.0110.00812.54
5.4.170.0120.00412.66
5.4.160.0110.00812.60
5.4.150.0090.01112.67
5.4.140.0150.00512.67
5.4.130.0130.00912.62
5.4.120.0090.01112.54
5.4.110.0080.01212.53
5.4.100.0140.00712.66
5.4.90.0130.00712.56
5.4.80.0060.01312.56
5.4.70.0100.01012.55
5.4.60.0040.01612.57
5.4.50.0070.01012.49
5.4.40.0110.00712.55
5.4.30.0110.00912.51
5.4.20.0090.01212.68
5.4.10.0160.00612.62
5.4.00.0120.00612.67
5.3.290.0130.00713.34
5.3.280.0110.00913.20
5.3.270.0120.00713.13
5.3.260.0120.00913.34
5.3.250.0120.01813.13
5.3.240.0140.00713.08
5.3.230.0080.01613.10
5.3.220.0080.01312.95
5.3.210.0140.00712.97
5.3.200.0080.01112.95
5.3.190.0080.01213.07
5.3.180.0140.00813.23
5.3.170.0190.00313.32
5.3.160.0120.00513.17
5.3.150.0140.00913.26
5.3.140.0110.01013.11
5.3.130.0110.00813.09
5.3.120.0120.01113.14
5.3.110.0090.00913.20
5.3.100.0070.01513.13
5.3.90.0090.01213.18
5.3.80.0130.00812.99
5.3.70.0100.00813.00
5.3.60.0060.01113.29
5.3.50.0120.00513.14
5.3.40.0060.01413.02
5.3.30.0160.00413.18
5.3.20.0070.00913.09
5.3.10.0090.00912.95
5.3.00.0150.00812.99
5.2.170.0120.00412.38
5.2.160.0060.01412.31
5.2.150.0150.00612.29
5.2.140.0070.01212.17
5.2.130.0150.00511.98
5.2.120.0110.00711.98
5.2.110.0110.00912.05
5.2.100.0090.00912.06
5.2.90.0030.01411.96
5.2.80.0100.00711.96
5.2.70.0080.00911.90
5.2.60.0100.00711.87
5.2.50.0100.00811.94
5.2.40.0080.01111.99
5.2.30.0060.01511.84
5.2.20.0130.00911.77
5.2.10.0100.00611.86
5.2.00.0090.00511.81
5.1.60.0060.00711.37
5.1.50.0100.00611.37
5.1.40.0070.00711.37
5.1.30.0090.00511.37
5.1.20.0100.00411.37
5.1.10.0080.00411.37
5.1.00.0040.00911.37
5.0.50.0090.00511.37
5.0.40.0100.00211.37
5.0.30.0060.00611.37
5.0.20.0110.00311.37
5.0.10.0050.00711.37
5.0.00.0050.00811.37
4.4.90.0050.00411.37
4.4.80.0050.00411.37
4.4.70.0050.00411.37
4.4.60.0020.00611.37
4.4.50.0060.00211.37
4.4.40.0060.00311.37
4.4.30.0010.00611.37
4.4.20.0060.00211.37
4.4.10.0080.00011.37
4.4.00.0090.00011.37
4.3.110.0060.00111.37
4.3.100.0040.00311.37
4.3.90.0050.00511.37
4.3.80.0040.00511.37
4.3.70.0000.00711.37
4.3.60.0030.00511.37
4.3.50.0060.00211.37
4.3.40.0060.00411.37
4.3.30.0040.00411.37
4.3.20.0020.00511.37
4.3.10.0050.00311.37
4.3.00.0020.00411.37

preferences:
65.73 ms | 403 KiB | 5 Q