3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strtotime('-12 months') echo(strtotime('now -12 months') echo(strtotime('now')

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)
5.4.280.0130.04512.38
5.4.270.0080.04312.38
5.4.260.0050.04312.37
5.4.250.0090.03812.38
5.4.240.0070.03612.38
5.4.230.0070.04712.37
5.4.220.0110.04312.37
5.4.210.0090.04512.37
5.4.200.0100.04112.37
5.4.190.0050.04512.36
5.4.180.0090.03612.36
5.4.170.0050.03912.37
5.4.160.0070.04512.37
5.4.150.0070.04312.36
5.4.140.0080.04612.06
5.4.130.0070.04312.04
5.4.120.0090.03812.00
5.4.110.0090.04212.00
5.4.100.0070.03912.00
5.4.90.0070.03912.00
5.4.80.0070.03812.00
5.4.70.0070.03811.99
5.4.60.0070.03811.99
5.4.50.0090.04911.99
5.4.40.0090.04511.98
5.4.30.0070.04311.98
5.4.20.0080.04311.98
5.4.10.0110.04211.98
5.4.00.0090.04211.47
5.3.280.0110.04412.71
5.3.270.0080.04312.72
5.3.260.0070.04312.72
5.3.250.0060.04112.72
5.3.240.0080.04312.72
5.3.230.0140.05612.71
5.3.220.0110.05812.68
5.3.210.0050.05212.68
5.3.200.0080.04212.68
5.3.190.0110.04212.68
5.3.180.0060.05812.67
5.3.170.0080.04512.67
5.3.160.0120.06112.67
5.3.150.0070.06712.67
5.3.140.0120.05412.66
5.3.130.0100.05012.66
5.3.120.0100.04812.66
5.3.110.0100.05612.65
5.3.100.0080.05012.12
5.3.90.0100.05012.09
5.3.80.0100.04512.08
5.3.70.0110.05212.08
5.3.60.0080.05812.06
5.3.50.0080.04212.00
5.3.40.0120.05212.00
5.3.30.0070.04711.94
5.3.20.0110.03811.71
5.3.10.0100.03911.68
5.3.00.0100.05211.67
5.2.170.0050.0439.17
5.2.160.0070.0439.17
5.2.150.0120.0529.17
5.2.140.0130.0569.16
5.2.130.0110.0629.13
5.2.120.0120.0379.13
5.2.110.0100.0469.13
5.2.100.0080.0449.13
5.2.90.0080.0399.13
5.2.80.0100.0449.12
5.2.70.0120.0479.12
5.2.60.0070.0359.07
5.2.50.0110.0429.04
5.2.40.0120.0499.02
5.2.30.0070.0579.00
5.2.20.0090.0448.99
5.2.10.0050.0388.91
5.2.00.0060.0388.77
5.1.60.0070.0458.05
5.1.50.0100.0388.05
5.1.40.0070.0458.04
5.1.30.0070.0358.38
5.1.20.0060.0458.41
5.1.10.0100.0448.13
5.1.00.0110.0368.13
5.0.50.0140.0366.61
5.0.40.0040.0276.47
5.0.30.0050.0426.28
5.0.20.0080.0306.25
5.0.10.0070.0346.23
5.0.00.0040.0416.22
4.4.90.0040.0234.78
4.4.80.0040.0214.75
4.4.70.0030.0214.75
4.4.60.0040.0194.75
4.4.50.0020.0224.77
4.4.40.0040.0324.71
4.4.30.0040.0194.76
4.4.20.0040.0204.85
4.4.10.0050.0224.85
4.4.00.0040.0304.76
4.3.110.0040.0204.67
4.3.100.0040.0194.66
4.3.90.0050.0194.63
4.3.80.0040.0314.58
4.3.70.0040.0254.63
4.3.60.0040.0194.63
4.3.50.0050.0224.63
4.3.40.0040.0394.54
4.3.30.0030.0223.27
4.3.20.0040.0343.25
4.3.10.0040.0233.22
4.3.00.0130.0206.27

preferences:
143.69 ms | 1394 KiB | 7 Q