3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strftime( '%Y-%m-%d %H:%M:%S', strtotime( '+1 year' ) )); var_dump(date_format(date_create('+1 year'), 'Y-m-d H:i:s'));

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.0110.00720.98
8.4.10.0080.00818.67
8.3.150.0090.00916.91
8.3.140.0060.01216.73
8.3.130.0060.00316.80
8.3.120.0070.00719.06
8.3.110.0040.00420.94
8.3.100.0050.00518.50
8.3.90.0040.00426.77
8.3.80.0030.00717.00
8.3.70.0100.01016.63
8.3.60.0110.00416.88
8.3.50.0070.00716.22
8.3.40.0120.00918.71
8.3.30.0100.00718.96
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.260.0050.00316.97
8.2.250.0110.00718.85
8.2.240.0030.00616.94
8.2.230.0040.00422.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0000.00916.63
8.2.190.0070.01416.88
8.2.180.0040.01425.92
8.2.170.0060.00919.08
8.2.160.0100.01022.96
8.2.150.0080.00025.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0050.00319.40
8.2.110.0060.00322.31
8.2.100.0000.01117.84
8.2.90.0000.00819.23
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00718.09
8.2.30.0000.00818.06
8.2.20.0040.00418.05
8.2.10.0000.00719.24
8.2.00.0040.00419.23
8.1.310.0040.00416.59
8.1.300.0110.00820.30
8.1.290.0080.00430.84
8.1.280.0070.00725.92
8.1.270.0000.00824.09
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.91
8.1.230.0120.00419.21
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.48
8.1.190.0000.00817.35
8.1.180.0070.00018.10
8.1.170.0070.00218.67
8.1.160.0040.00422.00
8.1.150.0040.00418.76
8.1.140.0000.00718.80
8.1.130.0040.00420.28
8.1.120.0030.00317.49
8.1.110.0040.00417.49
8.1.100.0040.00417.41
8.1.90.0090.00017.46
8.1.80.0050.00317.46
8.1.70.0030.00317.46
8.1.60.0050.00317.53
8.1.50.0000.00817.47
8.1.40.0060.00317.45
8.1.30.0060.00317.71
8.1.20.0120.00017.55
8.1.10.0040.00417.56
8.1.00.0070.00417.50
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0070.00018.39
8.0.270.0000.00718.04
8.0.260.0060.00018.75
8.0.250.0030.00617.09
8.0.240.0000.00617.07
8.0.230.0030.00316.97
8.0.220.0040.00417.00
8.0.210.0040.00416.91
8.0.200.0000.00616.91
8.0.190.0090.00017.04
8.0.180.0030.00516.87
8.0.170.0030.00617.09
8.0.160.0060.00816.90
8.0.150.0000.00716.97
8.0.140.0100.00016.94
8.0.130.0000.00513.41
8.0.120.0000.00817.01
8.0.110.0040.00416.95
8.0.100.0100.00216.83
8.0.90.0080.00417.00
8.0.80.0070.00516.84
8.0.70.0080.00316.93
8.0.60.0090.00417.01
8.0.50.0070.00616.99
8.0.30.0050.00516.92
8.0.20.0020.00716.99
8.0.10.0030.00617.14
8.0.00.0040.00617.01
7.4.330.0040.00015.55
7.4.320.0050.00216.61
7.4.300.0040.00416.46
7.4.290.0030.00516.50
7.4.280.0050.00316.48
7.4.270.0030.00316.64
7.4.260.0030.00615.48
7.4.250.0040.00416.53
7.4.240.0030.00316.56
7.4.230.0050.00316.74
7.4.220.0100.00016.56
7.4.210.0060.00316.61
7.4.200.0050.00316.66
7.4.190.0020.00816.55
7.4.180.0060.00516.71
7.4.160.0080.00416.57
7.4.150.0100.00216.50
7.4.140.0060.00716.40
7.4.130.0040.00716.56
7.4.120.0060.00416.49
7.4.110.0050.00516.50
7.4.100.0010.00916.67
7.4.90.0060.00416.41
7.4.80.0110.00016.52
7.4.70.0070.00416.55
7.4.60.0060.00716.40
7.4.50.0070.00416.51
7.4.40.0100.00416.50
7.4.30.0050.00516.40
7.4.20.0090.00116.44
7.4.10.0050.00716.54
7.4.00.0030.00816.47
7.3.330.0040.00416.20
7.3.320.0050.00013.07
7.3.310.0000.00716.34
7.3.300.0070.00616.37
7.3.290.0010.00916.35
7.3.280.0090.00216.29
7.3.270.0030.00616.29
7.3.260.0040.00516.33
7.3.250.0030.00616.32
7.3.240.0040.00516.33
7.3.230.0050.00316.33
7.3.220.0050.00416.24
7.3.210.0070.00116.20
7.3.200.0060.00316.30
7.3.190.0010.00716.27
7.3.180.0010.00716.31
7.3.170.0080.00116.37
7.3.160.0040.00516.31
7.3.150.0030.00516.28
7.3.140.0060.00316.26
7.3.130.0070.00216.28
7.3.120.0020.00816.23
7.3.110.0070.00216.28
7.3.100.0050.00416.18
7.3.90.0070.00216.56
7.3.80.0030.00616.31
7.3.70.0070.00116.23
7.3.60.0040.00416.46
7.3.50.0050.00316.47
7.3.40.0030.00516.30
7.3.30.0040.00416.35
7.3.20.0050.00416.39
7.3.10.0030.00516.33
7.3.00.0010.00816.37
7.2.340.0120.00216.46
7.2.330.0110.00416.43
7.2.320.0110.00316.37
7.2.310.0110.00416.37
7.2.300.0080.00616.35
7.2.290.0120.00316.43
7.2.280.0080.00616.41
7.2.270.0100.00516.37
7.2.260.0080.00616.38
7.2.250.0070.00816.44
7.2.240.0140.00216.34
7.2.230.0050.01016.42
7.2.220.0100.00516.43
7.2.210.0100.00516.48
7.2.200.0100.00616.54
7.2.190.0110.00516.48
7.2.180.0080.00716.47
7.2.170.0080.00716.51
7.2.160.0140.00216.53
7.2.150.0090.00616.49
7.2.140.0140.00016.52
7.2.130.0080.00716.79
7.2.120.0100.00516.66
7.2.110.0110.00416.69
7.2.100.0090.00716.56
7.2.90.0110.00616.54
7.2.80.0120.00516.54
7.2.70.0090.00516.63
7.2.60.0070.00716.63
7.2.50.0080.00716.65
7.2.40.0150.00516.60
7.2.30.0160.00216.64
7.2.20.0080.00816.63
7.2.10.0080.00716.65
7.2.00.0080.00716.66
7.1.330.0120.00115.71
7.1.320.0130.00215.64
7.1.310.0080.00915.65
7.1.300.0080.00615.75
7.1.290.0110.00315.60
7.1.280.0100.00415.65
7.1.270.0100.00415.60
7.1.260.0090.00615.58
7.1.250.0090.00515.42
7.1.240.0100.00415.51
7.1.230.0100.00415.57
7.1.220.0070.00615.61
7.1.210.0120.00315.58
7.1.200.0100.00415.55
7.1.190.0110.00315.55
7.1.180.0130.00215.59
7.1.170.0170.00315.58
7.1.160.0110.00315.53
7.1.150.0150.00315.59
7.1.140.0150.00015.57
7.1.130.0070.00815.59
7.1.120.0120.00415.52
7.1.110.0090.00515.45
7.1.100.0150.00015.55
7.1.90.0140.00415.46
7.1.80.0050.00915.63
7.1.70.0070.00715.36
7.1.60.0080.00815.65
7.1.50.0060.00815.63
7.1.40.0090.00715.63
7.1.30.0100.00515.57
7.1.20.0100.00415.50
7.1.10.0090.00615.49
7.1.00.0090.00615.40
7.0.330.0110.00315.04
7.0.320.0110.00315.20
7.0.310.0070.00715.15
7.0.300.0090.00515.17
7.0.290.0150.00315.05
7.0.280.0180.00215.12
7.0.270.0110.00515.20
7.0.260.0070.00815.20
7.0.250.0110.00415.32
7.0.240.0100.00515.37
7.0.230.0090.00515.32
7.0.220.0120.00415.20
7.0.210.0130.00215.22
7.0.200.0080.00615.28
7.0.190.0100.00515.21
7.0.180.0100.00415.26
7.0.170.0080.00415.28
7.0.160.0080.00615.23
7.0.150.0120.00215.19
7.0.140.0090.00515.22
7.0.130.0090.00515.29
7.0.120.0070.00715.32
7.0.110.0130.00215.31
7.0.100.0110.00315.05
7.0.90.0090.00415.09
7.0.80.0000.01315.07
7.0.70.0260.00315.19
7.0.60.0100.00615.21
7.0.50.0100.00315.09
7.0.40.0090.00515.26
7.0.30.0070.00715.28
7.0.20.0050.01115.20
7.0.10.0120.00215.23
7.0.00.0100.00515.18
5.6.400.0080.00615.77
5.6.390.0090.00515.72
5.6.380.0100.00415.69
5.6.370.0090.00515.83
5.6.360.0080.00515.84
5.6.350.0100.00415.77
5.6.340.0090.00515.74
5.6.330.0050.00915.78
5.6.320.0110.00115.69
5.6.310.0020.01115.68
5.6.300.0090.00515.64
5.6.290.0110.00215.70
5.6.280.0090.00515.75
5.6.270.0090.00315.75
5.6.260.0020.01215.70
5.6.250.0090.00415.65
5.6.240.0110.00315.82
5.6.230.0080.00515.68
5.6.220.0080.00615.85
5.6.210.0090.00515.87
5.6.200.0130.00015.82
5.6.190.0070.00715.81
5.6.180.0070.00715.78
5.6.170.0080.00615.93
5.6.160.0080.00515.78
5.6.150.0100.00415.73
5.6.140.0100.00315.83
5.6.130.0080.00615.90
5.6.120.0090.00415.85
5.6.110.0100.00315.83
5.6.100.0080.00615.72
5.6.90.0130.00015.67
5.6.80.0090.00315.72
5.6.70.0090.00315.86
5.6.60.0080.00315.91
5.6.50.0040.00815.79
5.6.40.0080.00515.73
5.6.30.0120.00215.75
5.6.20.0070.00615.66
5.6.10.0070.00615.79
5.6.00.0070.00715.70
5.5.380.0080.00615.91
5.5.370.0110.00315.83
5.5.360.0070.00715.68
5.5.350.0100.00415.70
5.5.340.0040.00915.61
5.5.330.0100.00415.78
5.5.320.0100.00415.60
5.5.310.0090.00415.68
5.5.300.0110.00215.70
5.5.290.0100.00415.54
5.5.280.0100.00315.71
5.5.270.0120.00215.63
5.5.260.0120.00015.60
5.5.250.0030.00715.71
5.5.240.0080.00315.74
5.5.230.0080.00315.72
5.5.220.0090.00115.64
5.5.210.0080.00215.75
5.5.200.0090.00115.67
5.5.190.0080.00315.48
5.5.180.0060.00415.67
5.5.170.0070.00315.57
5.5.160.0100.00115.58
5.5.150.0030.00715.50
5.5.140.0060.00315.59
5.5.130.0050.00515.47
5.5.120.0050.00515.43
5.5.110.0070.00415.47
5.5.100.0060.00415.71
5.5.90.0050.00515.71
5.5.80.0050.00515.63
5.5.70.0030.00715.77
5.5.60.0070.00215.71
5.5.50.0080.00215.74
5.5.40.0040.00615.51
5.5.30.0030.00715.68
5.5.20.0050.00615.79
5.5.10.0060.00315.67
5.5.00.0040.00615.61
5.4.450.0080.00312.59
5.4.440.0090.00212.58
5.4.430.0100.00012.51
5.4.420.0050.00512.54
5.4.410.0100.00012.47
5.4.400.0050.00512.49
5.4.390.0070.00312.39
5.4.380.0090.00112.31
5.4.370.0080.00212.47
5.4.360.0080.00212.46
5.4.350.0020.00712.33
5.4.340.0090.00112.52
5.4.330.0080.00212.39
5.4.320.0030.00712.44
5.4.310.0090.00012.48
5.4.300.0090.00212.63
5.4.290.0100.00012.55
5.4.280.0060.00412.45
5.4.270.0080.00212.51
5.4.260.0100.00012.45
5.4.250.0070.00312.54
5.4.240.0090.00112.52
5.4.230.0080.00212.25
5.4.220.0090.00112.26
5.4.210.0080.00112.31
5.4.200.0060.00312.18
5.4.190.0040.00612.24
5.4.180.0070.00412.34
5.4.170.0060.00412.31
5.4.160.0080.00212.43
5.4.150.0080.00212.30
5.4.140.0080.00212.38
5.4.130.0060.00312.46
5.4.120.0090.00012.42
5.4.110.0100.00012.50
5.4.100.0040.00612.52
5.4.90.0070.00212.46
5.4.80.0060.00412.52
5.4.70.0070.00212.49
5.4.60.0070.00212.55
5.4.50.0070.00312.33
5.4.40.0050.00412.47
5.4.30.0080.00212.55
5.4.20.0020.00712.51
5.4.10.0070.00312.55
5.4.00.0070.00312.31
5.3.290.0050.00613.09
5.3.280.0060.00413.00
5.3.270.0070.00313.12
5.3.260.0080.00213.10
5.3.250.0060.00412.94
5.3.240.0050.00512.88
5.3.230.0080.00212.93
5.3.220.0050.00412.79
5.3.210.0070.00312.79
5.3.200.0060.00413.01
5.3.190.0040.00612.88
5.3.180.0020.00813.04
5.3.170.0050.00512.95
5.3.160.0100.00013.10
5.3.150.0080.00213.03
5.3.140.0070.00313.02
5.3.130.0090.00213.05
5.3.120.0050.00512.99
5.3.110.0050.00612.96
5.3.100.0060.00413.01
5.3.90.0070.00213.05
5.3.80.0040.00512.69
5.3.70.0020.00912.80
5.3.60.0060.00412.91
5.3.50.0030.00812.85
5.3.40.0060.00412.90
5.3.30.0070.00412.93
5.3.20.0030.00713.04
5.3.10.0080.00212.73
5.3.00.0060.00412.71
5.2.170.0070.00212.04
5.2.160.0060.00412.20
5.2.150.0060.00212.14
5.2.140.0000.00812.05
5.2.130.0060.00311.92
5.2.120.0020.00712.01
5.2.110.0060.00211.88
5.2.100.0060.00211.99
5.2.90.0070.00111.78
5.2.80.0030.00611.73
5.2.70.0030.00511.73
5.2.60.0030.00611.80
5.2.50.0010.00511.90
5.2.40.0080.00011.96
5.2.30.0070.00111.89
5.2.20.0060.00311.73
5.2.10.0010.00711.87
5.2.00.0030.00511.61
5.1.60.0030.00511.50
5.1.50.0040.00411.50
5.1.40.0040.00411.50
5.1.30.0070.00011.50
5.1.20.0080.00011.50
5.1.10.0060.00111.50
5.1.00.0020.00511.50
5.0.50.0050.00211.50
5.0.40.0050.00111.50
5.0.30.0050.00211.50
5.0.20.0020.00511.50
5.0.10.0050.00211.50
5.0.00.0030.00211.50
4.4.90.0020.00211.50
4.4.80.0040.00111.50
4.4.70.0020.00211.50
4.4.60.0020.00211.50
4.4.50.0000.00411.50
4.4.40.0040.00011.50
4.4.30.0040.00011.50
4.4.20.0020.00211.50
4.4.10.0010.00311.50
4.4.00.0040.00011.50
4.3.110.0040.00011.50
4.3.100.0020.00211.50
4.3.90.0010.00411.50
4.3.80.0020.00211.50
4.3.70.0040.00011.50
4.3.60.0020.00211.50
4.3.50.0040.00011.50
4.3.40.0030.00111.50
4.3.30.0020.00111.50
4.3.20.0010.00311.50
4.3.10.0020.00211.50
4.3.00.0020.00211.50

preferences:
39.96 ms | 403 KiB | 5 Q