3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $a = 'Foo'; var_dump(new{$a}());

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.350.0060.05012.03
5.4.340.0090.03512.03
5.4.320.0050.04412.51
5.4.310.0100.04312.51
5.4.300.0070.04412.51
5.4.290.0070.04912.50
5.4.280.0060.04312.41
5.4.270.0100.03512.40
5.4.260.0090.05012.40
5.4.250.0090.04412.41
5.4.240.0090.04112.41
5.4.230.0040.04012.40
5.4.220.0080.03812.40
5.4.210.0090.04512.39
5.4.200.0070.05112.40
5.4.190.0120.04812.39
5.4.180.0070.04612.39
5.4.170.0060.04012.40
5.4.160.0060.04212.39
5.4.150.0090.04012.39
5.4.140.0070.04212.08
5.4.130.0100.03912.07
5.4.120.0100.03912.03
5.4.110.0110.05912.03
5.4.100.0060.04412.03
5.4.90.0110.04112.03
5.4.80.0050.04312.02
5.4.70.0090.03712.02
5.4.60.0070.03912.02
5.4.50.0040.03912.02
5.4.40.0100.04512.01
5.4.30.0070.04812.01
5.4.20.0060.04712.00
5.4.10.0060.03512.00
5.4.00.0080.03611.50
5.3.290.0120.04212.80
5.3.280.0070.05512.70
5.3.270.0090.04512.72
5.3.260.0100.04112.72
5.3.250.0110.05312.72
5.3.240.0070.04112.72
5.3.230.0090.05112.71
5.3.220.0060.06012.68
5.3.210.0080.05112.68
5.3.200.0090.06212.68
5.3.190.0090.04712.68
5.3.180.0110.03812.68
5.3.170.0060.04612.67
5.3.160.0090.04612.67
5.3.150.0100.04312.67
5.3.140.0120.06012.66
5.3.130.0050.04712.66
5.3.120.0130.05612.66
5.3.110.0090.05012.66
5.3.100.0070.04512.12
5.3.90.0070.03712.10
5.3.80.0070.04412.09
5.3.70.0090.03812.09
5.3.60.0050.03812.07
5.3.50.0080.03512.02
5.3.40.0090.03412.02
5.3.30.0050.03711.98
5.3.20.0050.03711.76
5.3.10.0040.03811.73
5.3.00.0070.04411.71
5.2.170.0040.0379.21
5.2.160.0080.0309.21
5.2.150.0040.0369.22
5.2.140.0050.0349.21
5.2.130.0050.0339.17
5.2.120.0040.0359.18
5.2.110.0090.0319.18
5.2.100.0030.0369.17
5.2.90.0070.0299.17
5.2.80.0080.0339.17
5.2.70.0150.0409.17
5.2.60.0030.0409.13
5.2.50.0100.0469.09
5.2.40.0060.0439.07
5.2.30.0060.0329.04
5.2.20.0060.0349.03
5.2.10.0060.0358.94
5.2.00.0050.0298.80
5.1.60.0070.0288.09
5.1.50.0070.0318.08
5.1.40.0070.0298.06
5.1.30.0060.0348.42
5.1.20.0080.0378.43
5.1.10.0060.0338.16
5.1.00.0070.0278.16
5.0.50.0010.0246.64
5.0.40.0060.0176.50
5.0.30.0040.0316.30
5.0.20.0030.0216.28
5.0.10.0070.0256.26
5.0.00.0070.0276.25
4.4.90.0050.0184.78
4.4.80.0050.0214.75
4.4.70.0030.0184.75
4.4.60.0040.0154.76
4.4.50.0030.0194.77
4.4.40.0060.0254.70
4.4.30.0020.0174.76
4.4.20.0040.0154.85
4.4.10.0040.0164.84
4.4.00.0090.0264.76
4.3.110.0040.0144.67
4.3.100.0030.0164.67
4.3.90.0060.0134.64
4.3.80.0040.0274.59
4.3.70.0060.0174.63
4.3.60.0040.0344.63
4.3.50.0100.0374.63
4.3.40.0040.0284.54
4.3.30.0030.0173.30
4.3.20.0020.0153.28
4.3.10.0010.0163.23
4.3.00.0070.0177.27

preferences:
143.73 ms | 1386 KiB | 7 Q