3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parts = [ 'sec' => 1606329777, 'usec' => 5001, 'minuteswest' => -60, 'dsttime' => 0, ]; echo $parts['sec'] . '.' . $parts['usec']; echo PHP_EOL; echo $parts['sec'] . '.' . str_pad((string) $parts['usec'], 6, '0', STR_PAD_LEFT);

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.10.0030.01319.58
8.3.140.0040.01116.66
8.3.130.0080.00016.52
8.3.120.0030.00618.99
8.3.110.0050.00320.94
8.3.100.0000.00924.06
8.3.90.0090.00626.77
8.3.80.0030.00616.63
8.3.70.0070.00716.58
8.3.60.0140.00418.43
8.3.50.0120.00524.41
8.3.40.0120.00321.77
8.3.30.0030.01218.55
8.3.20.0030.00624.18
8.3.10.0050.00324.66
8.3.00.0050.00326.16
8.2.260.0030.00517.09
8.2.250.0000.01116.67
8.2.240.0140.00417.01
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0190.00026.77
8.2.200.0110.00016.75
8.2.190.0090.00616.58
8.2.180.0130.00325.92
8.2.170.0150.00618.83
8.2.160.0140.00022.96
8.2.150.0050.00325.66
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0000.00726.35
8.2.110.0030.00720.94
8.2.100.0040.00719.63
8.2.90.0040.00417.75
8.2.80.0000.01018.91
8.2.70.0000.00817.63
8.2.60.0050.00517.50
8.2.50.0040.00418.05
8.2.40.0080.00018.14
8.2.30.0000.00817.99
8.2.20.0050.00218.18
8.2.10.0040.00419.23
8.2.00.0040.00419.23
8.1.310.0170.00016.54
8.1.300.0070.01317.96
8.1.290.0030.00618.88
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0110.00019.66
8.1.230.0090.00322.73
8.1.220.0000.00818.71
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00517.13
8.1.180.0000.00818.10
8.1.170.0000.00818.71
8.1.160.0050.00318.95
8.1.150.0040.00418.88
8.1.140.0080.00020.61
8.1.130.0070.00020.14
8.1.120.0080.00017.51
8.1.110.0050.00217.48
8.1.100.0030.00517.42
8.1.90.0000.00717.44
8.1.80.0000.00917.42
8.1.70.0030.00317.41
8.1.60.0020.00517.47
8.1.50.0040.00417.60
8.1.40.0000.00717.51
8.1.30.0030.00617.65
8.1.20.0000.00817.63
8.1.10.0050.00317.50
8.1.00.0070.00017.49
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0070.00018.43
8.0.270.0030.00317.99
8.0.260.0000.00718.57
8.0.250.0040.00416.96
8.0.240.0030.00616.91
8.0.230.0030.00316.97
8.0.220.0030.00316.79
8.0.210.0040.00416.75
8.0.200.0000.00816.87
8.0.190.0070.00016.91
8.0.180.0050.00316.84
8.0.170.0050.00316.89
8.0.160.0060.00316.89
8.0.150.0050.00316.70
8.0.140.0030.00316.89
8.0.130.0000.00513.31
8.0.120.0060.00316.85
8.0.110.0020.00516.98
8.0.100.0040.00416.89
8.0.90.0030.00316.86
8.0.80.0070.01216.92
8.0.70.0000.00816.81
8.0.60.0030.00516.72
8.0.50.0000.00816.78
8.0.30.0090.01316.99
8.0.20.0110.00816.96
8.0.10.0040.00417.01
8.0.00.0130.00616.77
7.4.330.0000.00515.55
7.4.320.0060.00016.50
7.4.300.0030.00316.64
7.4.290.0040.00416.61
7.4.280.0000.00816.60
7.4.270.0030.00316.57
7.4.260.0060.00013.26
7.4.250.0040.00216.46
7.4.240.0070.00016.59
7.4.230.0030.00316.32
7.4.220.0000.00716.53
7.4.210.0080.00716.54
7.4.200.0000.00716.57
7.4.130.0130.00716.66
7.4.120.0110.00916.40
7.4.110.0070.01116.49
7.4.100.0230.01116.62
7.4.90.0090.01316.43
7.4.80.0060.01616.49
7.4.70.0180.00316.57
7.4.60.0150.01216.40
7.4.50.0200.00016.37
7.4.40.0070.01116.48
7.4.30.0160.01016.33
7.4.20.0090.01216.63
7.4.10.0240.00316.46
7.4.00.0100.01015.93
7.3.330.0020.00516.36
7.3.320.0000.00613.11
7.3.310.0080.00016.26
7.3.300.0060.00016.29
7.3.290.0070.00916.17
7.3.260.0090.01216.36
7.3.250.0090.00916.51
7.3.240.0070.01016.16
7.3.230.0260.00316.49
7.3.220.0210.00916.32
7.3.210.0140.00516.59
7.3.200.0120.01716.13
7.3.190.0290.00016.18
7.3.180.0220.00516.46
7.3.170.0060.01316.51
7.3.160.0210.00016.41
7.3.150.0190.00416.38
7.3.140.0160.00916.45
7.3.130.0210.00716.48
7.3.120.0160.01216.48
7.3.110.0170.01116.41
7.3.100.0210.01216.35
7.3.90.0140.00316.29
7.3.80.0210.00716.19
7.3.70.0070.01016.29
7.3.60.0120.01216.34
7.3.50.0080.01016.18
7.3.40.0170.00716.28
7.3.30.0050.01016.24
7.3.20.0160.00416.29
7.3.10.0140.01016.29
7.3.00.0180.00416.30
7.2.340.0210.00916.65
7.2.330.0090.00916.63
7.2.320.0190.00816.72
7.2.310.0170.01016.79
7.2.300.0130.01716.72
7.2.290.0190.00716.52
7.2.280.0060.01516.55
7.2.270.0160.01616.44
7.2.260.0200.01016.63
7.2.250.0240.00316.70
7.2.240.0210.00316.62
7.2.230.0180.01216.23
7.2.220.0120.00616.38
7.2.210.0250.00016.63
7.2.200.0130.00816.49
7.2.190.0190.01116.53
7.2.180.0200.01016.48
7.2.170.0120.00616.33
7.2.160.0180.00316.41
7.2.150.0200.01216.73
7.2.140.0200.00916.55
7.2.130.0260.00516.57
7.2.120.0210.00616.60
7.2.110.0090.01816.72
7.2.100.0220.00616.74
7.2.90.0210.01216.78
7.2.80.0180.00916.46
7.2.70.0250.00316.57
7.2.60.0170.01416.41
7.2.50.0210.00816.56
7.2.40.0190.00416.54
7.2.30.0240.00516.51
7.2.20.0260.01516.75
7.2.10.0150.01616.46
7.2.00.0050.01516.70

preferences:
36.66 ms | 403 KiB | 5 Q