3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \DateTime())->format('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.0140.00717.59
8.4.10.0140.00317.76
8.3.150.0110.00717.14
8.3.140.0060.01016.81
8.3.130.0080.00016.70
8.3.120.0290.01017.00
8.3.110.0250.00817.43
8.3.100.0220.00723.72
8.3.90.0220.00519.07
8.3.80.0220.00717.58
8.3.70.0270.00817.30
8.3.60.0290.00819.98
8.3.50.0210.00719.75
8.3.40.0250.00619.55
8.3.30.0200.00621.00
8.3.20.0160.00822.05
8.3.10.0140.00821.27
8.3.00.0150.00920.80
8.2.260.0060.00320.29
8.2.250.0060.00318.45
8.2.240.0160.00516.98
8.2.230.0150.00517.52
8.2.220.0120.00717.64
8.2.210.0160.00518.95
8.2.200.0190.00417.79
8.2.190.0190.00617.60
8.2.180.0200.00819.05
8.2.170.0210.00719.81
8.2.160.0240.00620.32
8.2.150.0210.00720.52
8.2.140.0180.00720.82
8.2.130.0180.00622.11
8.2.120.0200.00720.95
8.2.110.0160.00821.27
8.2.100.0180.00720.06
8.2.90.0210.00719.97
8.2.80.0190.00720.09
8.2.70.0180.00723.37
8.2.60.0180.00623.13
8.2.50.0160.00622.58
8.2.40.0150.00522.15
8.2.30.0150.00522.00
8.2.20.0140.00621.79
8.2.10.0150.00521.73
8.2.00.0140.00621.35
8.1.310.0100.01018.57
8.1.300.0220.00716.32
8.1.290.0150.00919.29
8.1.280.0230.00719.56
8.1.270.0190.00820.88
8.1.260.0220.00521.67
8.1.250.0200.00621.06
8.1.240.0150.00619.74
8.1.230.0160.00619.84
8.1.220.0160.00619.73
8.1.210.0160.00520.26
8.1.200.0160.00623.46
8.1.190.0150.00522.09
8.1.180.0150.00522.65
8.1.170.0140.00522.26
8.1.160.0130.00621.94
8.1.150.0130.00622.07
8.1.140.0130.00521.71
8.1.130.0120.00621.26
8.1.120.0120.00521.12
8.1.110.0110.00620.75
8.1.100.0130.00520.55
8.1.90.0130.00620.56
8.1.80.0110.00620.15
8.1.70.0110.00620.12
8.1.60.0130.00520.08
8.1.50.0140.00620.24
8.1.40.0140.00519.92
8.1.30.0140.00619.89
8.1.20.0150.00619.80
8.1.10.0140.00519.42
8.1.00.0140.00619.55
8.0.300.0180.00519.82
8.0.290.0180.00523.12
8.0.280.0140.00621.47
8.0.270.0150.00521.42
8.0.260.0140.00520.92
8.0.250.0140.00520.77
8.0.240.0140.00620.54
8.0.230.0140.00520.34
8.0.220.0150.00520.18
8.0.210.0130.00620.03
8.0.200.0140.00520.05
8.0.190.0140.00519.86
8.0.180.0130.00619.84
8.0.170.0130.00519.41
8.0.160.0130.00519.31
8.0.150.0140.00519.13
8.0.140.0130.00518.98
8.0.130.0130.00518.86
8.0.120.0130.00518.52
8.0.110.0110.00518.45
8.0.100.0130.00418.43
8.0.90.0120.00618.45
8.0.80.0110.00618.24
8.0.70.0120.00518.43
8.0.60.0120.00518.42
8.0.50.0130.00518.42
8.0.30.0120.00618.11
8.0.20.0120.00618.13
8.0.10.0120.00618.17
8.0.00.0100.00618.18
7.4.330.0130.00519.63
7.4.320.0150.00420.18
7.4.300.0120.00519.66
7.4.290.0120.00519.23
7.4.280.0130.00518.83
7.4.270.0140.00518.66
7.4.260.0140.00518.59
7.4.250.0120.00518.12
7.4.240.0130.00418.15
7.4.230.0130.00518.18
7.4.220.0120.00518.19
7.4.210.0120.00518.06
7.4.200.0120.00518.13
7.4.190.0120.00518.18
7.4.180.0120.00518.18
7.4.160.0120.00517.79
7.4.150.0110.00617.71
7.4.140.0120.00517.66
7.4.130.0110.00617.57
7.4.120.0120.00617.51
7.4.110.0120.00617.44
7.4.100.0120.00717.39
7.4.90.0120.00717.23
7.4.80.0130.00717.28
7.4.70.0120.00717.24
7.4.60.0120.00717.22
7.4.50.0120.00717.16
7.4.40.0120.00717.15
7.4.30.0120.00717.15
7.4.20.0120.00717.11
7.4.10.0120.00717.04
7.4.00.0110.00717.03
7.3.330.0140.00518.33
7.3.320.0140.00518.09
7.3.310.0140.00418.05
7.3.300.0120.00517.99
7.3.290.0130.00517.86
7.3.280.0130.00617.71
7.3.270.0120.00617.53
7.3.260.0120.00617.50
7.3.250.0130.00617.49
7.3.240.0130.00617.45
7.3.230.0130.00617.30
7.3.220.0130.00617.23
7.3.210.0130.00717.19
7.3.200.0130.00617.15
7.3.190.0130.00617.13
7.3.180.0130.00617.09
7.3.170.0130.00717.09
7.3.160.0130.00717.06
7.3.150.0130.00717.05
7.3.140.0130.00717.01
7.3.130.0130.00716.92
7.3.120.0120.00716.87
7.3.110.0120.00716.81
7.3.100.0120.00716.74
7.3.90.0120.00716.79
7.3.80.0120.00716.61
7.3.70.0120.00716.59
7.3.60.0120.00716.58
7.3.50.0110.00716.56
7.3.40.0110.00716.51
7.3.30.0120.00716.44
7.3.20.0210.00716.88
7.3.10.0230.00716.77
7.3.00.0240.00716.68
7.2.340.0140.00717.48
7.2.330.0150.00717.35
7.2.320.0150.00717.36
7.2.310.0150.00717.25
7.2.300.0150.00717.26
7.2.290.0150.00717.22
7.2.280.0150.00717.20
7.2.270.0140.00817.16
7.2.260.0140.00717.08
7.2.250.0130.00817.03
7.2.240.0140.00817.00
7.2.230.0130.00816.93
7.2.220.0130.00816.87
7.2.210.0130.00816.79
7.2.200.0140.00816.77
7.2.190.0130.00716.73
7.2.180.0130.00816.69
7.2.170.0130.00816.67
7.2.160.0130.00816.59
7.2.150.0230.00817.06
7.2.140.0220.00817.08
7.2.130.0250.00816.95
7.2.120.0280.00816.87
7.2.110.0280.00816.81
7.2.100.0290.00816.80
7.2.90.0270.00816.80
7.2.80.0270.00816.80
7.2.70.0270.00816.83
7.2.60.0270.00816.84
7.2.50.0280.00716.84
7.2.40.0270.00816.86
7.2.30.0260.00816.85
7.2.20.0240.00816.83
7.2.10.0240.00816.83
7.2.00.0240.00816.83
7.1.330.0160.00716.59
7.1.320.0160.00716.45
7.1.310.0160.00716.38
7.1.300.0150.00716.31
7.1.290.0150.00716.31
7.1.280.0150.00716.25
7.1.270.0190.00716.15
7.1.260.0200.00716.12
7.1.250.0260.00715.84
7.1.240.0270.00715.79
7.1.230.0280.00715.74
7.1.220.0290.00715.73
7.1.210.0300.00715.75
7.1.200.0290.00715.74
7.1.190.0280.00815.74
7.1.180.0290.00715.72
7.1.170.0280.00715.75
7.1.160.0270.00715.73
7.1.150.0280.00715.74
7.1.140.0270.00715.72
7.1.130.0270.00715.72
7.1.120.0260.00815.74
7.1.110.0260.00715.74
7.1.100.0270.00715.73
7.1.90.0250.00715.74
7.1.80.0250.00715.77
7.1.70.0240.00715.69
7.1.60.0260.00716.43
7.1.50.0250.00816.43
7.1.40.0250.00716.42
7.1.30.0240.00816.41
7.1.20.0250.00716.39
7.1.10.0240.00715.72
7.1.00.0230.00715.71
7.0.330.0270.00715.57
7.0.320.0260.00715.55
7.0.310.0290.00715.48
7.0.300.0270.00715.49
7.0.290.0280.00715.49
7.0.280.0260.00715.49
7.0.270.0270.00715.49
7.0.260.0270.00715.49
7.0.250.0260.00715.58
7.0.240.0250.00715.59
7.0.230.0250.00715.58
7.0.220.0250.00715.55
7.0.210.0260.00715.56
7.0.200.0240.00715.54
7.0.190.0260.00715.55
7.0.180.0250.00715.54
7.0.170.0240.00715.56
7.0.160.0230.00715.54
7.0.150.0250.00715.51
7.0.140.0230.00715.51
7.0.130.0240.00715.54
7.0.120.0240.00715.54
7.0.110.0230.00715.54
7.0.100.0230.00715.54
7.0.90.0220.00715.50
7.0.80.0230.00715.49
7.0.70.0230.00715.48
7.0.60.0230.00715.51
7.0.50.0220.00715.50
7.0.40.0220.00715.52
7.0.30.0220.00715.54
7.0.20.0220.00715.49
7.0.10.0220.00715.53
7.0.00.0230.00715.50
5.6.400.0140.00816.06
5.6.390.0140.00816.00
5.6.380.0140.00815.67
5.6.370.0140.00815.69
5.6.360.0140.00815.69
5.6.350.0140.00815.70
5.6.340.0140.00815.69
5.6.330.0140.00815.71
5.6.320.0140.00815.68
5.6.310.0140.00815.68
5.6.300.0140.00815.66
5.6.290.0140.00815.71
5.6.280.0140.00815.70
5.6.270.0140.00815.70
5.6.260.0140.00815.69
5.6.250.0130.00815.65
5.6.240.0140.00815.69
5.6.230.0140.00815.69
5.6.220.0140.00815.69
5.6.210.0140.00815.70
5.6.200.0140.00815.70
5.6.190.0140.00815.72
5.6.180.0140.00815.71
5.6.170.0140.00815.69
5.6.160.0130.00915.70
5.6.150.0140.00815.71
5.6.140.0140.00815.72
5.6.130.0140.00815.72
5.6.120.0130.00915.72
5.6.110.0140.00815.69
5.6.100.0140.00815.65
5.6.90.0140.00815.66
5.6.80.0130.00815.63
5.6.70.0130.00815.65
5.6.60.0130.00815.66
5.6.50.0130.00815.62
5.6.40.0140.00815.60
5.6.30.0130.00815.61
5.6.20.0130.00815.59
5.6.10.0140.00815.59
5.6.00.0140.00815.59
5.5.380.0140.00815.15
5.5.370.0140.00815.16
5.5.360.0140.00815.08
5.5.350.0140.00815.08
5.5.340.0140.00815.08
5.5.330.0140.00815.08
5.5.320.0140.00815.08
5.5.310.0140.00815.09
5.5.300.0140.00815.08
5.5.290.0140.00815.08
5.5.280.0140.00815.08
5.5.270.0140.00815.07
5.5.260.0140.00815.08
5.5.250.0140.00815.08
5.5.240.0140.00715.08
5.5.230.0140.00715.06
5.5.220.0130.00815.04
5.5.210.0130.00815.10
5.5.200.0130.00815.02
5.5.190.0140.00815.02
5.5.180.0140.00815.02
5.5.170.0140.00815.29
5.5.160.0130.00815.03
5.5.150.0140.00815.01
5.5.140.0140.00814.99
5.5.130.0130.00814.97
5.5.120.0140.00814.99
5.5.110.0140.00814.99
5.5.100.0130.00815.04
5.5.90.0130.00815.06
5.5.80.0140.00715.06
5.5.70.0130.00815.06
5.5.60.0140.00715.03
5.5.50.0130.00815.03
5.5.40.0130.00815.03
5.5.30.0130.00715.05
5.5.20.0130.00715.05
5.5.10.0130.00715.03
5.5.00.0130.00815.03
5.4.450.0110.00612.91
5.4.440.0110.00612.90
5.4.430.0110.00612.90
5.4.420.0110.00612.90
5.4.410.0110.00612.89
5.4.400.0110.00612.87
5.4.390.0110.00612.85
5.4.380.0110.00612.86
5.4.370.0110.00612.86
5.4.360.0110.00612.86
5.4.350.0110.00612.85
5.4.340.0110.00612.87
5.4.330.0110.00612.86
5.4.320.0110.00512.87
5.4.310.0110.00612.87
5.4.300.0110.00612.86
5.4.290.0110.00612.87
5.4.280.0110.00512.86
5.4.270.0110.00612.87
5.4.260.0110.00612.85
5.4.250.0110.00612.85
5.4.240.0110.00612.86
5.4.230.0110.00612.81
5.4.220.0110.00612.82
5.4.210.0110.00612.80
5.4.200.0110.00512.81
5.4.190.0110.00612.81
5.4.180.0110.00612.80
5.4.170.0110.00612.81
5.4.160.0110.00612.80
5.4.150.0110.00612.81
5.4.140.0110.00612.85
5.4.130.0110.00612.85
5.4.120.0110.00612.85
5.4.110.0110.00612.85
5.4.100.0100.00612.84
5.4.90.0100.00612.85
5.4.80.0100.00612.88
5.4.70.0110.00612.87
5.4.60.0110.00612.87
5.4.50.0110.00612.83
5.4.40.0100.00612.86
5.4.30.0110.00612.88
5.4.20.0110.00512.88
5.4.10.0110.00612.87
5.4.00.0100.00612.83
5.3.290.0110.00612.82
5.3.280.0100.00612.67
5.3.270.0110.00612.72
5.3.260.0110.00612.73
5.3.250.0100.00612.73
5.3.240.0110.00612.63
5.3.230.0100.00612.68
5.3.220.0100.00612.67
5.3.210.0110.00612.68
5.3.200.0110.00612.67
5.3.190.0110.00612.73
5.3.180.0100.00612.82
5.3.170.0110.00612.82
5.3.160.0110.00612.81
5.3.150.0100.00612.81
5.3.140.0110.00612.76
5.3.130.0110.00612.76
5.3.120.0110.00612.77
5.3.110.0110.00612.76
5.3.100.0100.00612.77
5.3.90.0100.00612.80
5.3.80.0100.00612.71
5.3.70.0100.00612.72
5.3.60.0100.00612.75
5.3.50.0100.00612.70
5.3.40.0100.00612.70
5.3.30.0100.00612.68
5.3.20.0100.00612.68
5.3.10.0090.00612.56
5.3.00.0100.00612.55

preferences:
88.35 ms | 403 KiB | 5 Q