3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo new DateTimeImmutable()->format('c'); echo "\n"; echo new DateTimeImmutable()->setTime(100, 12, 13)->format('c');

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.5.70.0140.00617.07
8.5.60.0340.00916.84
8.5.50.0290.00616.56
8.5.40.0260.00616.52
8.5.30.0200.00516.52
8.5.20.0320.01116.56
8.5.10.0180.00416.40
8.5.00.0060.00416.71
8.4.220.0170.00319.66
8.4.210.0170.00519.39
8.4.200.0160.00619.15
8.4.190.0170.00319.48
8.4.180.0120.00819.65
8.4.170.0180.00419.86
8.4.160.0160.00519.60
8.4.150.0170.00519.72
8.4.140.0150.00617.70
8.4.130.0140.00517.67
8.4.120.0220.00617.45
8.4.110.0160.00517.81
8.4.100.0240.00517.54
8.4.90.0340.00917.87
8.4.80.0450.00617.66
8.4.70.0250.00317.41
8.4.60.0160.00717.64
8.4.50.0140.00817.77
8.4.40.0180.00217.50
8.4.30.0200.00317.63
8.4.20.0230.00717.72
8.4.10.0250.00417.54
8.3.310.0370.00918.38
8.3.300.0340.00918.45
8.3.290.0190.00618.21
8.3.280.0160.00318.27
8.3.270.0170.00316.80
8.3.260.0120.00716.66
8.3.250.0300.00916.61
8.3.240.0260.00616.71
8.3.230.0390.00916.66
8.3.220.0320.00416.55
8.3.210.0280.00616.68
8.3.200.0260.00916.66
8.3.190.0350.01016.64
8.3.180.0300.00816.69
8.3.170.0320.01116.80
8.3.160.0370.01016.71
8.3.150.0170.00416.78
8.3.140.0140.00516.59
8.3.130.0230.00416.39
8.3.120.0240.00316.59
8.3.110.0280.01016.67
8.3.100.0310.00516.80
8.3.90.0340.01216.47
8.3.80.0290.00616.79
8.3.70.0260.00216.68
8.3.60.0170.00316.53
8.3.50.0190.00416.58
8.3.40.0170.00717.81
8.3.30.0110.00517.90
8.3.20.0140.00517.98
8.3.10.0260.01117.83
8.3.00.0330.00717.97
8.2.310.0400.00517.58

preferences:
58.1 ms | 751 KiB | 5 Q