3v4l.org

run code in 300+ PHP versions simultaneously
<?php $self =& $this; $func = function() use (&$self) { $self->whatever(); } $func();

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.310.0090.04412.51
5.4.300.0060.04312.52
5.4.290.0110.03812.51
5.4.280.0100.04612.41
5.4.270.0110.04512.41
5.4.260.0060.05512.41
5.4.250.0080.05112.41
5.4.240.0080.04912.41
5.4.230.0100.05012.40
5.4.220.0090.05012.40
5.4.210.0090.04912.40
5.4.200.0100.05112.40
5.4.190.0080.05212.39
5.4.180.0070.05012.39
5.4.170.0120.04712.41
5.4.160.0120.04512.40
5.4.150.0090.05112.39
5.4.140.0080.06012.09
5.4.130.0110.04212.07
5.4.120.0130.04112.03
5.4.110.0080.05412.03
5.4.100.0070.04512.03
5.4.90.0050.05112.03
5.4.80.0090.05512.03
5.4.70.0070.05512.02
5.4.60.0160.05112.03
5.4.50.0080.05112.03
5.4.40.0120.05012.01
5.4.30.0080.05212.02
5.4.20.0070.05612.01
5.4.10.0110.04412.01
5.4.00.0100.04611.50
5.3.280.0090.06012.71
5.3.270.0090.06212.72
5.3.260.0120.05312.72
5.3.250.0120.05212.72
5.3.240.0110.05612.72
5.3.230.0170.04712.71
5.3.220.0090.04112.68
5.3.210.0090.04712.68
5.3.200.0100.04712.68
5.3.190.0080.05712.68
5.3.180.0100.05312.67
5.3.170.0100.04112.67
5.3.160.0120.04812.68
5.3.150.0040.05612.67
5.3.140.0120.06112.66
5.3.130.0090.04812.66
5.3.120.0060.05212.66
5.3.110.0050.05312.65
5.3.100.0130.04112.13
5.3.90.0090.05412.10
5.3.80.0090.04912.09
5.3.70.0160.05412.09
5.3.60.0070.04712.08
5.3.50.0090.04412.02
5.3.40.0180.06512.02
5.3.30.0150.04711.98
5.3.20.0110.04211.76
5.3.10.0110.04411.73
5.3.00.0090.04711.71
5.2.170.0060.0369.18
5.2.160.0040.0309.18
5.2.150.0040.0329.18
5.2.140.0030.0339.18
5.2.130.0070.0289.14
5.2.120.0070.0289.14
5.2.110.0040.0339.15
5.2.100.0080.0269.14
5.2.90.0050.0309.14
5.2.80.0060.0329.14
5.2.70.0040.0319.14
5.2.60.0060.0299.09
5.2.50.0050.0319.06
5.2.40.0060.0299.04
5.2.30.0050.0309.02
5.2.20.0090.0359.00
5.2.10.0130.0348.93
5.2.00.0080.0378.79
5.1.60.0100.0298.07
5.1.50.0120.0508.06
5.1.40.0120.0288.05
5.1.30.0080.0338.40
5.1.20.0050.0378.41
5.1.10.0080.0318.14
5.1.00.0080.0338.14
5.0.50.0080.0236.63
5.0.40.0100.0216.48
5.0.30.0080.0366.29
5.0.20.0080.0226.27
5.0.10.0040.0276.24
5.0.00.0070.0376.23
4.4.90.0060.0194.78
4.4.80.0060.0184.76
4.4.70.0060.0184.75
4.4.60.0070.0174.75
4.4.50.0020.0164.77
4.4.40.0040.0254.71
4.4.30.0050.0134.76
4.4.20.0050.0144.84
4.4.10.0010.0174.85
4.4.00.0060.0244.75
4.3.110.0020.0174.67
4.3.100.0020.0154.66
4.3.90.0030.0144.64
4.3.80.0030.0244.59
4.3.70.0020.0164.63
4.3.60.0020.0154.63
4.3.50.0020.0174.63
4.3.40.0020.0254.54
4.3.30.0010.0183.28
4.3.20.0010.0183.26
4.3.10.0020.0163.22
4.3.00.0070.0177.13

preferences:
144.07 ms | 1394 KiB | 7 Q