3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ChildOfDateTime extends DateTime { public function __construct() {} } echo (new ChildOfDateTime())->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.130.0130.00817.86
8.4.120.0100.01020.47
8.4.110.0040.00422.38
8.4.100.0160.00517.82
8.4.90.0090.00718.73
8.4.80.0100.01020.48
8.4.70.0050.00717.71
8.4.60.0150.00618.76
8.4.50.0100.01020.21
8.4.40.0050.00418.49
8.4.30.0110.00718.56
8.4.20.0100.01019.87
8.4.10.0110.00019.64
8.3.260.0120.00816.61
8.3.250.0100.01018.92
8.3.240.0100.00916.59
8.3.230.0130.00616.67
8.3.220.0060.00618.73
8.3.210.0100.00216.63
8.3.200.0050.00416.54
8.3.190.0100.00916.94
8.3.180.0150.00417.05
8.3.170.0000.00918.87
8.3.160.0030.00617.36
8.3.150.0070.01316.97
8.3.140.0120.00616.99
8.3.130.0090.00018.74
8.3.120.0030.00620.66
8.3.110.0000.00920.94
8.3.100.0050.00318.72
8.3.90.0080.00026.77
8.3.80.0060.00316.63
8.3.70.0150.00016.58
8.3.60.0040.01416.58
8.3.50.0080.00818.71
8.3.40.0100.01321.48
8.3.30.0150.00620.70
8.3.20.0140.00721.73
8.3.10.0140.00721.79
8.3.00.0130.00918.97
8.2.290.0060.00320.46
8.2.280.0150.00518.27
8.2.270.0140.00417.17
8.2.260.0150.00318.45
8.2.250.0080.00016.61
8.2.240.0040.01116.96
8.2.230.0040.00422.58
8.2.220.0060.00324.06
8.2.210.0130.00726.77
8.2.200.0060.00318.41
8.2.190.0090.00616.58
8.2.180.0150.00318.41
8.2.170.0120.00918.96
8.2.160.0070.01420.10
8.2.150.0070.01718.97
8.2.140.0110.01120.25
8.2.130.0170.00320.41
8.2.120.0170.00319.27
8.2.110.0180.00019.22
8.2.100.0150.00619.10
8.2.90.0040.01418.96
8.2.80.0150.00619.09
8.2.70.0100.01318.39
8.2.60.0100.01018.85
8.2.50.0120.00619.27
8.2.40.0140.00420.38
8.2.30.0110.01120.39
8.2.20.0190.00320.61
8.2.10.0130.00718.74
8.2.00.0120.00618.78
8.1.330.0110.00820.28
8.1.320.0110.00816.03
8.1.310.0110.00716.57
8.1.300.0060.00318.36
8.1.290.0040.00730.84
8.1.280.0090.00625.92
8.1.270.0070.01022.08
8.1.260.0150.00422.04
8.1.250.0130.00322.20
8.1.240.0160.00318.48
8.1.230.0090.00918.68
8.1.220.0140.00318.66
8.1.210.0090.00918.38
8.1.200.0200.00018.64
8.1.190.0110.00718.36
8.1.180.0120.00618.30
8.1.170.0110.00818.47
8.1.160.0150.00318.36
8.1.150.0110.00718.42
8.1.140.0100.01018.60
8.1.130.0130.00918.65
8.1.120.0120.00618.51
8.1.110.0180.00018.52
8.1.100.0140.00419.75
8.1.90.0130.00618.43
8.1.80.0150.00421.29
8.1.70.0120.00620.54
8.1.60.0000.01820.26
8.1.50.0120.00920.18
8.1.40.0070.01118.46
8.1.30.0140.00718.89
8.1.20.0180.00319.97
8.1.10.0150.00318.61
8.1.00.0070.01118.53

preferences:
58.72 ms | 403 KiB | 5 Q