3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = DateTime::createFromFormat('U', time()); print $t->format('Y-m-d H:i:s'); print strtotime(time());

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)
7.3.10.0140.00516.53
7.3.00.0090.00616.64
7.2.130.0040.00916.72
7.2.120.0060.01216.55
7.2.110.0130.00316.91
7.2.100.0110.01116.92
7.2.90.0090.00716.96
7.2.80.0040.01516.74
7.2.70.0120.00616.77
7.2.60.0040.01516.68
7.2.50.0070.01016.89
7.2.40.0090.00916.82
7.2.30.0060.00916.98
7.2.20.0160.01216.99
7.2.10.0120.00616.79
7.2.00.0150.01216.93
7.1.250.0070.00415.72
7.1.100.0070.00718.37
7.1.70.0000.01517.38
7.1.60.0030.02019.25
7.1.50.0100.00617.05
7.1.00.0030.05722.43
7.0.200.0000.01016.64
7.0.140.0000.07722.12
7.0.120.0030.06722.05
7.0.100.0200.07019.88
7.0.90.0170.06319.91
7.0.80.0100.04319.88
7.0.70.0070.05019.88
7.0.60.0030.04720.09
7.0.50.0070.08020.30
7.0.40.0070.08320.10
7.0.30.0030.05720.13
7.0.20.0100.05320.08
7.0.10.0070.08320.09
7.0.00.0070.08720.14
5.6.280.0030.07321.11
5.6.250.0000.06320.80
5.6.240.0030.08720.63
5.6.230.0070.08320.57
5.6.220.0030.08320.68
5.6.210.0070.07320.45
5.6.200.0100.07021.17
5.6.190.0030.07020.95
5.6.180.0130.08320.93
5.6.170.0070.04720.95
5.6.160.0170.08321.01
5.6.150.0170.07321.05
5.6.140.0030.05320.93
5.6.130.0130.08320.99
5.6.120.0070.06720.95
5.6.110.0070.08721.03
5.6.100.0100.08321.09
5.6.90.0200.06321.02
5.6.80.0170.09020.44
5.6.70.0170.07720.43
5.6.60.0100.07020.50
5.6.50.0030.04720.49
5.6.40.0000.04320.30
5.6.30.0130.07720.47
5.6.20.0030.04320.42
5.6.10.0070.08020.30
5.6.00.0100.04320.30
5.5.380.0000.05320.35
5.5.370.0070.07720.56
5.5.360.0100.09020.34
5.5.350.0100.04320.38
5.5.340.0200.06320.92
5.5.330.0170.07320.85
5.5.320.0070.08020.75
5.5.310.0130.08320.89
5.5.300.0100.08320.91
5.5.290.0030.05720.76
5.5.280.0130.04020.86
5.5.270.0100.06320.86
5.5.260.0070.06720.85
5.5.250.0130.07720.61
5.5.240.0030.08320.30
5.5.230.0100.06720.27
5.5.220.0030.04020.20
5.5.210.0130.07320.26
5.5.200.0070.04020.06
5.5.190.0130.05320.14
5.5.180.0070.08020.26
5.5.160.0030.04320.12
5.5.150.0070.07720.24
5.5.140.0070.05320.26
5.5.130.0070.08019.97
5.5.120.0070.08020.07
5.5.110.0070.05320.27
5.5.100.0100.04020.13
5.5.90.0070.04019.95
5.5.80.0170.06720.09
5.5.70.0000.05319.93
5.5.60.0130.07020.13
5.5.50.0070.08019.96
5.5.40.0130.03719.93
5.5.30.0130.04020.13
5.5.20.0030.04019.91
5.5.10.0100.05720.07
5.5.00.0170.07020.04
5.4.450.0130.03719.27
5.4.440.0100.08019.45
5.4.430.0130.06719.30
5.4.420.0070.03719.22
5.4.410.0170.04019.17
5.4.400.0130.04318.98
5.4.390.0100.07319.04
5.4.380.0000.05018.89
5.4.370.0100.07319.11
5.4.360.0070.07718.81
5.4.350.0000.08319.04
5.4.340.0030.08019.07
5.4.320.0030.08019.04
5.4.310.0070.04018.95
5.4.300.0000.08019.06
5.4.290.0100.03719.04
5.4.280.0130.07019.11
5.4.270.0030.08019.14
5.4.260.0030.07019.22
5.4.250.0070.07718.77
5.4.240.0030.04018.77
5.4.230.0070.03719.03
5.4.220.0100.08019.05
5.4.210.0070.07718.77
5.4.200.0030.04319.02
5.4.190.0070.07319.00
5.4.180.0130.07719.01
5.4.170.0130.04019.06
5.4.160.0030.05018.76
5.4.150.0030.04718.95
5.4.140.0070.07316.35
5.4.130.0100.04716.33
5.4.120.0030.07716.27
5.4.110.0070.04016.35
5.4.100.0130.06316.26
5.4.90.0030.04316.47
5.4.80.0200.05716.46
5.4.70.0030.07716.45
5.4.60.0030.05016.18
5.4.50.0030.07716.35
5.4.40.0030.04016.36
5.4.30.0100.07016.39
5.4.20.0030.06316.22
5.4.10.0030.07316.39
5.4.00.0000.04715.68
5.3.290.0000.04314.57
5.3.280.0070.07314.58
5.3.270.0000.08714.57
5.3.260.0030.08714.59
5.3.250.0070.07314.57
5.3.240.0070.07314.59
5.3.230.0070.07714.58
5.3.220.0100.07714.52
5.3.210.0070.07014.51
5.3.200.0030.07714.42
5.3.190.0130.03714.57
5.3.180.0030.04014.55
5.3.170.0070.08014.56
5.3.160.0030.08314.47
5.3.150.0070.07014.41
5.3.140.0030.05014.40
5.3.130.0070.07014.36
5.3.120.0130.06714.52
5.3.110.0070.08014.36
5.3.100.0000.04014.03
5.3.90.0000.04013.87
5.3.80.0030.03713.98
5.3.70.0070.04713.97
5.3.60.0000.05313.98
5.3.50.0100.02313.85
5.3.40.0070.04313.88
5.3.30.0030.04013.89
5.3.20.0030.04013.60
5.3.10.0000.06313.51
5.3.00.0170.06313.49
5.2.170.0070.03011.64
5.2.160.0070.06311.64
5.2.150.0030.06311.64
5.2.140.0070.06311.64
5.2.130.0030.06311.64
5.2.120.0000.04311.64
5.2.110.0070.05711.64
5.2.100.0100.03711.64
5.2.90.0000.03311.64
5.2.80.0100.05011.64
5.2.70.0030.05711.64
5.2.60.0000.05311.64
5.2.50.0000.06011.64
5.2.40.0030.06311.64
5.2.30.0000.03711.64
5.2.20.0070.02711.64
5.2.10.0070.05711.64
5.2.00.0030.03311.64
5.1.60.0070.03711.64
5.1.50.0070.05311.64
5.1.40.0030.04311.64
5.1.30.0030.05311.64
5.1.20.0070.05011.64
5.1.10.0070.05311.64
5.1.00.0000.05711.64
5.0.50.0000.03311.64
5.0.40.0000.04011.64
5.0.30.0030.03711.64
5.0.20.0030.02011.64
5.0.10.0030.04011.64
5.0.00.0030.04711.64
4.4.90.0030.02311.64
4.4.80.0030.03311.64
4.4.70.0030.02711.64
4.4.60.0000.02311.64
4.4.50.0000.03311.64
4.4.40.0030.05311.64
4.4.30.0000.04011.64
4.4.20.0030.03711.64
4.4.10.0030.01711.64
4.4.00.0000.02711.64
4.3.110.0070.02011.64
4.3.100.0000.02711.64
4.3.90.0000.02711.64
4.3.80.0000.05011.64
4.3.70.0030.02711.64
4.3.60.0070.03011.64
4.3.50.0000.02311.64
4.3.40.0030.05311.64
4.3.30.0000.03311.64
4.3.20.0000.04011.64
4.3.10.0000.03011.64
4.3.00.0000.04011.64

preferences:
49.94 ms | 400 KiB | 5 Q