3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTimeImmutable('now', new DateTimeZone('UTC')); $nowString = $now->format('Y-m-d\TH:i:s.u'); $lockUntilString = $now->modify('+' . (string) 1000 . ' ms')->format('Y-m-d\TH:i:s.u'); print $lockUntilString;

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.60.0070.00716.63
8.3.50.0110.00417.89
8.3.40.0070.00718.94
8.3.30.0120.00318.60
8.3.20.0070.00020.09
8.3.10.0080.00020.57
8.3.00.0040.00423.39
8.2.180.0070.00716.63
8.2.170.0140.00022.96
8.2.160.0000.01320.47
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00420.52
8.2.120.0070.00026.35
8.2.110.0090.00020.55
8.2.100.0080.00418.09
8.2.90.0050.00319.34
8.2.80.0040.00418.00
8.2.70.0030.00717.88
8.2.60.0080.00017.93
8.2.50.0040.00419.34
8.2.40.0080.00020.73
8.2.30.0030.00520.52
8.2.20.0000.00718.17
8.2.10.0070.00018.14
8.2.00.0000.00818.33
8.1.280.0140.00325.92
8.1.270.0000.00720.84
8.1.260.0080.00026.35
8.1.250.0090.00628.09
8.1.240.0000.00822.18
8.1.230.0110.00019.22
8.1.220.0040.00417.80
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0060.00317.47
8.1.180.0000.00818.10
8.1.170.0050.00318.74
8.1.160.0000.00818.85
8.1.150.0040.00420.22
8.1.140.0040.00419.50
8.1.130.0070.00020.88
8.1.120.0040.00417.66
8.1.110.0030.00617.63
8.1.100.0000.00817.61
8.1.90.0070.00017.66
8.1.80.0040.00417.62
8.1.70.0040.00417.59
8.1.60.0040.00417.68
8.1.50.0040.00417.64
8.1.40.0030.00617.65
8.1.30.0000.00717.80
8.1.20.0040.00417.81
8.1.10.0040.00417.74
8.1.00.0050.00317.60
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0070.00018.46
8.0.270.0070.00017.21
8.0.260.0000.00817.22
8.0.250.0030.00317.23
8.0.240.0000.00717.07
8.0.230.0000.00717.15
8.0.220.0030.00317.01
8.0.210.0000.00717.02
8.0.200.0030.00717.19
8.0.190.0000.00717.23
8.0.180.0070.00017.17
8.0.170.0070.00017.16
8.0.160.0000.00717.20
8.0.150.0030.00616.96
8.0.140.0040.00416.96
8.0.130.0030.00313.56
8.0.120.0000.00717.16
8.0.110.0040.00417.09
8.0.100.0030.00517.21
8.0.90.0000.00717.01
8.0.80.0070.01117.09
8.0.70.0040.00417.16
8.0.60.0050.00316.97
8.0.50.0000.00817.07
8.0.30.0140.00517.31
8.0.20.0130.01817.41
8.0.10.0000.00717.16
8.0.00.0060.01217.01
7.4.330.0050.00015.55
7.4.320.0030.00316.57
7.4.300.0030.00316.53
7.4.290.0040.00416.59
7.4.280.0040.00416.46
7.4.270.0000.00716.47
7.4.260.0030.00616.64
7.4.250.0040.00416.61
7.4.240.0080.00016.55
7.4.230.0000.00716.56
7.4.220.0100.01016.76
7.4.210.0080.00716.53
7.4.200.0050.00516.71
7.4.160.0100.00816.57
7.4.150.0090.00917.40
7.4.140.0070.01117.86
7.4.130.0100.01016.53
7.4.120.0170.00616.72
7.4.110.0050.01316.52
7.4.100.0070.01016.58
7.4.90.0040.01316.55
7.4.80.0060.01019.39
7.4.70.0050.01116.47
7.4.60.0040.01216.61
7.4.50.0110.00316.46
7.4.40.0030.01516.50
7.4.30.0120.00616.76
7.4.10.0100.00715.79
7.4.00.0070.01015.52
7.3.330.0000.00513.25
7.3.320.0000.00613.25
7.3.310.0070.00016.64
7.3.300.0070.00016.55
7.3.290.0000.00716.49
7.3.280.0100.00816.52
7.3.270.0100.01117.40
7.3.260.0080.01216.74
7.3.250.0150.00716.53
7.3.240.0090.00916.55
7.3.230.0080.01116.52
7.3.210.0040.01516.68
7.3.200.0090.00916.55
7.3.190.0030.01616.76
7.3.180.0030.01416.49
7.3.170.0080.00816.83
7.3.160.0090.00616.39
7.3.130.0100.00815.68
7.3.120.0090.00715.81
7.3.110.0080.00915.72
7.3.100.0030.01115.62
7.3.90.0090.00615.91
7.3.80.0060.00615.75
7.3.70.0070.00515.61
7.3.60.0040.00715.64
7.3.50.0070.00815.57
7.3.40.0070.00815.72
7.3.30.0020.00915.72
7.3.20.0060.00817.52
7.3.10.0100.00717.22
7.3.00.0090.00317.16
7.2.330.0070.01016.73
7.2.320.0110.00816.77
7.2.310.0070.01016.70
7.2.300.0060.01516.50
7.2.290.0030.01216.99
7.2.260.0050.01215.85
7.2.250.0090.01016.15
7.2.240.0090.00515.99
7.2.230.0030.00916.01
7.2.220.0060.00516.13
7.2.210.0100.00315.89
7.2.200.0050.00916.12
7.2.190.0050.00716.01
7.2.180.0070.00815.98
7.2.170.0090.00715.92
7.2.160.0070.00416.10
7.2.150.0060.00417.89
7.2.140.0100.00517.74
7.2.130.0060.00617.32
7.2.120.0090.00717.36
7.2.110.0080.00917.43
7.2.100.0090.00817.30
7.2.90.0060.00917.37
7.2.80.0080.00717.38
7.2.70.0050.00817.42
7.2.60.0070.00717.33
7.2.50.0030.01117.34
7.2.40.0100.00417.26
7.2.30.0090.00717.36
7.2.20.0050.00917.39
7.2.10.0080.00617.41
7.2.00.0060.00917.83
7.1.330.0070.01016.39
7.1.320.0060.00716.82
7.1.310.0040.00716.73
7.1.300.0030.00716.66
7.1.290.0060.00916.65
7.1.280.0060.00916.61
7.1.270.0100.00516.66
7.1.260.0050.01116.55
7.1.250.0070.00716.13
7.1.240.0070.00516.37
7.1.230.0030.01216.28
7.1.220.0020.01216.25
7.1.210.0050.00816.39
7.1.200.0070.00716.17
7.1.190.0030.00616.31
7.1.180.0050.00516.24
7.1.170.0020.01116.36
7.1.160.0070.00516.33
7.1.150.0030.01016.40
7.1.140.0030.01016.29
7.1.130.0020.01116.32
7.1.120.0070.00616.29
7.1.110.0070.00316.42
7.1.100.0030.00816.49
7.1.90.0060.00516.31
7.1.80.0050.00516.28
7.1.70.0050.00616.53
7.1.60.0040.00716.66
7.1.50.0030.01216.61
7.1.40.0060.00816.48
7.1.30.0060.00716.44
7.1.20.0060.00516.62
7.1.10.0050.00716.48
7.1.00.0050.00716.52
7.0.330.0050.00616.01
7.0.320.0050.00815.89
7.0.310.0070.00615.90
7.0.300.0080.00515.88
7.0.290.0040.00816.03
7.0.280.0040.00616.00
7.0.270.0060.00616.08
7.0.260.0050.00716.07
7.0.250.0040.00816.03
7.0.240.0090.00416.07
7.0.230.0060.00616.00
7.0.220.0070.00416.11
7.0.210.0050.00516.11
7.0.200.0020.00816.25
7.0.190.0050.00616.16
7.0.180.0070.00416.11
7.0.170.0050.00616.13
7.0.160.0050.00516.27
7.0.150.0030.00716.12
7.0.140.0020.00916.09
7.0.130.0030.00816.23
7.0.120.0040.00816.02
7.0.110.0050.00816.00
7.0.100.0050.00516.08
7.0.90.0060.00416.11
7.0.80.0080.00316.11
7.0.70.0060.00616.21
7.0.60.0080.00716.11
7.0.50.0080.00816.19
7.0.40.0060.00614.33
7.0.30.0090.00514.41
7.0.20.0070.00814.41
7.0.10.0080.00514.37
7.0.00.0100.00314.31
5.6.400.0050.01015.13
5.6.390.0020.00915.09
5.6.380.0080.00815.05
5.6.370.0030.00715.39
5.6.360.0040.00715.24
5.6.350.0050.01115.25
5.6.340.0080.00815.34
5.6.330.0080.00815.03
5.6.320.0040.00715.37
5.6.310.0050.00715.24
5.6.300.0050.00815.31
5.6.290.0050.00415.13
5.6.280.0040.01015.21
5.6.270.0040.00715.22
5.6.260.0030.00915.25
5.6.250.0070.00615.25
5.6.240.0080.00415.10
5.6.230.0100.00415.35
5.6.220.0060.00815.14
5.6.210.0000.01415.26
5.6.200.0030.00815.17
5.6.190.0030.00815.12
5.6.180.0080.00515.34
5.6.170.0040.00715.19
5.6.160.0070.00315.10
5.6.150.0010.01115.07
5.6.140.0020.01015.14
5.6.130.0030.01415.10
5.6.120.0020.01115.30
5.6.110.0030.00915.10
5.6.100.0050.00715.22
5.6.90.0030.00915.19
5.6.80.0070.00715.06
5.6.70.0060.00415.10
5.6.60.0090.00315.16
5.6.50.0030.00915.05
5.6.40.0060.00715.25
5.6.30.0080.00615.15
5.6.20.0090.00515.15
5.6.10.0070.00715.11
5.6.00.0060.00815.18

preferences:
65.72 ms | 401 KiB | 5 Q