3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = new DateTime(); $formatter = new IntlDateFormatter('de_DE', IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); $formatter->setPattern('D, d M Y H:i:s'); $now = $formatter->format($datetime); echo $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.260.0080.04412.35
5.4.250.0100.04512.35
5.4.240.0070.04312.35
5.4.230.0070.04512.34
5.4.220.0070.04212.34
5.4.210.0070.04512.34
5.4.200.0070.04912.34
5.4.190.0160.06712.34
5.4.180.0080.04712.34
5.4.170.0080.04212.34
5.4.160.0070.04512.34
5.4.150.0100.04712.33
5.4.140.0090.04412.03
5.4.130.0060.04612.00
5.4.120.0090.04611.97
5.4.110.0110.04511.97
5.4.100.0090.05211.96
5.4.90.0090.04811.97
5.4.80.0110.05711.97
5.4.70.0130.05811.97
5.4.60.0100.05111.96
5.4.50.0050.04311.96
5.4.40.0040.04111.95
5.4.30.0090.03811.95
5.4.20.0080.04111.94
5.4.10.0070.04111.95
5.4.00.0050.04511.44
5.3.280.0070.04912.71
5.3.270.0090.04312.72
5.3.260.0100.06212.72
5.3.250.0140.07112.72
5.3.240.0110.06612.72
5.3.230.0090.04412.71
5.3.220.0090.05012.68
5.3.210.0100.04712.68
5.3.200.0120.04612.68
5.3.190.0100.05312.68
5.3.180.0050.04612.67
5.3.170.0120.05212.67
5.3.160.0090.04112.67
5.3.150.0070.04212.67
5.3.140.0100.05212.66
5.3.130.0080.04712.65
5.3.120.0100.04112.66
5.3.110.0050.04912.65
5.3.100.0090.06012.12
5.3.90.0080.04512.08
5.3.80.0090.04812.07
5.3.70.0080.04612.08
5.3.60.0070.04012.07
5.3.50.0100.04212.00
5.3.40.0050.04512.00
5.3.30.0080.04311.94
5.3.20.0100.04011.71
5.3.10.0070.04011.68
5.3.00.0070.04111.66
5.2.170.0050.0399.16
5.2.160.0100.0349.17
5.2.150.0050.0369.16
5.2.140.0090.0369.16
5.2.130.0050.0389.12
5.2.120.0070.0319.12
5.2.110.0090.0299.13
5.2.100.0050.0349.13
5.2.90.0080.0319.12
5.2.80.0050.0359.12
5.2.70.0070.0329.12
5.2.60.0030.0379.07
5.2.50.0060.0369.04
5.2.40.0050.0329.02
5.2.30.0050.0349.00
5.2.20.0040.0348.99
5.2.10.0070.0348.91
5.2.00.0050.0418.76
5.1.60.0070.0298.05
5.1.50.0050.0328.04
5.1.40.0070.0268.03
5.1.30.0050.0308.38
5.1.20.0050.0318.41
5.1.10.0050.0318.13
5.1.00.0090.0328.13
5.0.50.0050.0286.61
5.0.40.0050.0236.47
5.0.30.0040.0416.28
5.0.20.0050.0216.25
5.0.10.0050.0236.23
5.0.00.0050.0336.22
4.4.90.0050.0184.78
4.4.80.0050.0184.76
4.4.70.0040.0204.75
4.4.60.0050.0174.75
4.4.50.0040.0164.77
4.4.40.0040.0274.71
4.4.30.0050.0194.76
4.4.20.0030.0194.84
4.4.10.0030.0234.85
4.4.00.0040.0264.76
4.3.110.0040.0184.67
4.3.100.0050.0344.67
4.3.90.0030.0174.63
4.3.80.0040.0264.58
4.3.70.0040.0194.63
4.3.60.0020.0184.63
4.3.50.0020.0204.62
4.3.40.0040.0414.54
4.3.30.0020.0193.28
4.3.20.0060.0293.26
4.3.10.0070.0393.22
4.3.00.0170.02032.18

preferences:
143.57 ms | 1394 KiB | 7 Q