3v4l.org

run code in 300+ PHP versions simultaneously
<?php $microsInThePast = 3000000; $currentDate = new DateTime("2019-10-14T15:08:23.123+02:00"); echo 'Current: ' . $currentDate->format(DATE_RFC3339_EXTENDED) . "\n"; echo 'Past: ' . $currentDate->modify("-{$microsInThePast} usec")->format(DATE_RFC3339_EXTENDED);

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.3.70.0120.00318.80
8.3.60.0170.00018.68
8.3.50.0060.00919.90
8.3.40.0130.00319.17
8.3.30.0140.00019.04
8.3.20.0080.00021.14
8.3.10.0050.00222.52
8.3.00.0040.00421.13
8.2.190.0220.00016.59
8.2.180.0140.00718.91
8.2.170.0140.00422.96
8.2.160.0030.01020.60
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0070.00321.24
8.2.100.0080.00418.09
8.2.90.0030.00518.34
8.2.80.0000.00818.18
8.2.70.0060.00318.17
8.2.60.0050.00518.59
8.2.50.0030.00918.10
8.2.40.0000.00821.46
8.2.30.0070.00019.63
8.2.20.0030.00618.44
8.2.10.0000.00719.55
8.2.00.0000.00719.68
8.1.280.0080.00825.92
8.1.270.0040.00422.32
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00824.21
8.1.230.0090.00322.97
8.1.220.0000.00818.16
8.1.210.0030.00618.77
8.1.200.0030.00617.85
8.1.190.0030.00617.73
8.1.180.0080.00018.10
8.1.170.0030.00519.04
8.1.160.0030.00319.20
8.1.150.0060.00319.15
8.1.140.0070.00020.57
8.1.130.0000.00920.47
8.1.120.0000.00717.97
8.1.110.0080.00017.93
8.1.100.0000.00917.98
8.1.90.0000.00817.95
8.1.80.0000.00717.99
8.1.70.0000.00717.92
8.1.60.0070.00018.02
8.1.50.0000.00817.92
8.1.40.0030.00617.88
8.1.30.0030.00518.05
8.1.20.0040.00418.09
8.1.10.0000.00817.87
8.1.00.0000.00817.86
8.0.300.0040.00422.02
8.0.290.0040.00717.21
8.0.280.0000.00718.84
8.0.270.0070.00017.49
8.0.260.0000.00620.36
8.0.250.0030.00317.40
8.0.240.0030.00317.50
8.0.230.0030.00317.41
8.0.220.0030.00317.42
8.0.210.0050.00217.39
8.0.200.0000.00617.42
8.0.190.0060.00317.53
8.0.180.0070.00017.43
8.0.170.0060.00317.40
8.0.160.0000.00717.46
8.0.150.0000.00717.43
8.0.140.0000.00717.43
8.0.130.0030.00313.82
8.0.120.0030.00617.38
8.0.110.0000.00717.38
8.0.100.0040.00417.29
8.0.90.0030.00617.60
8.0.80.0020.01517.29
8.0.70.0000.00717.21
8.0.60.0040.00417.54
8.0.50.0040.00417.18
8.0.30.0110.00717.34
8.0.20.0100.01117.39
8.0.10.0050.00317.48
8.0.00.0080.01217.08
7.4.330.0050.00017.13
7.4.320.0030.00316.96
7.4.300.0000.00616.93
7.4.290.0080.00016.89
7.4.280.0070.00016.77
7.4.270.0000.00817.05
7.4.260.0000.00613.54
7.4.250.0050.00316.84
7.4.240.0030.00516.92
7.4.230.0040.00416.86
7.4.220.0040.00417.03
7.4.210.0070.01016.84
7.4.200.0070.00016.84
7.4.130.0170.00016.79
7.4.120.0160.00316.74
7.4.110.0030.01416.78
7.4.100.0150.00616.70
7.4.90.0060.01216.74
7.4.80.0080.00919.39
7.4.70.0060.01216.78
7.4.60.0000.01516.95
7.4.50.0100.00616.82
7.4.40.0100.00616.80
7.4.00.0110.00415.34
7.3.330.0000.00716.57
7.3.320.0000.00613.61
7.3.310.0000.00716.82
7.3.300.0070.00016.68
7.3.290.0050.00916.73
7.3.280.0030.01616.70
7.3.260.0080.01016.76
7.3.240.0090.00916.79
7.3.230.0080.00916.67
7.3.210.0060.01416.66
7.3.200.0180.00017.02
7.3.190.0130.00316.84
7.3.180.0120.00916.54
7.3.170.0310.02017.12
7.3.160.0090.00616.64
7.3.100.0070.00715.26
7.3.90.0030.00915.28
7.3.80.0120.00615.25
7.3.70.0070.00715.38
7.3.60.0030.01015.21
7.3.50.0080.00515.27
7.3.40.0000.01215.45
7.3.30.0070.01114.92
7.3.20.0000.01515.16
7.3.10.0060.01015.35
7.3.00.0100.00515.27
7.2.330.0140.00416.90
7.2.320.0070.01017.03
7.2.310.0110.00616.98
7.2.300.0080.01316.95
7.2.290.0060.01016.86
7.2.230.0090.00615.37
7.2.220.0040.01115.64
7.2.210.0080.01115.61
7.2.200.0050.00815.59
7.2.190.0060.00815.47
7.2.180.0070.00715.63
7.2.170.0100.00315.45
7.2.160.0110.00315.52
7.2.150.0080.00815.39
7.2.140.0030.01215.57
7.2.130.0000.01515.66
7.2.120.0140.00015.45
7.2.110.0080.00715.51
7.2.100.0090.00615.50
7.2.90.0000.01615.64
7.2.80.0090.00615.68
7.2.70.0090.00615.48
7.2.60.0060.00915.30
7.2.50.0050.00915.33
7.2.40.0060.00915.64
7.2.30.0130.00715.34
7.2.20.0130.00915.69
7.2.10.0200.00415.29
7.2.00.0140.00315.58
7.1.320.0070.00714.27
7.1.310.0030.01313.87
7.1.300.0100.00713.97
7.1.290.0000.01314.17
7.1.280.0060.00814.16
7.1.270.0070.00714.09
7.1.260.0080.01114.19
7.1.250.0060.00814.18

preferences:
50.14 ms | 401 KiB | 5 Q