3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval("class a {}"); print_r 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.0070.03412.01
5.4.340.0060.03912.01
5.4.320.0080.03812.50
5.4.310.0090.05012.49
5.4.300.0150.04012.50
5.4.290.0090.03812.49
5.4.280.0120.04112.39
5.4.270.0080.05012.39
5.4.260.0100.03612.39
5.4.250.0080.04012.39
5.4.240.0090.03412.39
5.4.230.0070.04912.38
5.4.220.0080.03812.38
5.4.210.0100.04212.38
5.4.200.0100.05112.38
5.4.190.0080.05012.38
5.4.180.0170.06312.38
5.4.170.0080.04112.39
5.4.160.0090.04712.38
5.4.150.0090.05112.38
5.4.140.0050.07412.07
5.4.130.0080.05312.05
5.4.120.0110.03312.02
5.4.110.0090.04812.01
5.4.100.0120.04412.01
5.4.90.0150.04812.01
5.4.80.0130.07112.01
5.4.70.0100.03912.00
5.4.60.0110.04312.01
5.4.50.0070.05112.00
5.4.40.0100.09212.00
5.4.30.0110.04911.99
5.4.20.0190.07111.99
5.4.10.0110.04411.99
5.4.00.0060.04111.48
5.3.290.0070.05312.80
5.3.280.0070.04512.71
5.3.270.0110.04312.72
5.3.260.0080.04112.72
5.3.250.0110.04112.72
5.3.240.0140.04412.72
5.3.230.0090.05512.71
5.3.220.0070.05112.68
5.3.210.0080.04912.68
5.3.200.0110.04312.68
5.3.190.0150.04412.68
5.3.180.0090.04512.68
5.3.170.0100.04912.67
5.3.160.0170.04912.67
5.3.150.0080.05212.67
5.3.140.0130.04512.66
5.3.130.0180.06912.66
5.3.120.0130.06012.66
5.3.110.0210.07112.66
5.3.100.0160.05112.12
5.3.90.0280.10512.08
5.3.80.0160.06612.07
5.3.70.0100.06112.07
5.3.60.0110.05212.06
5.3.50.0090.03912.00
5.3.40.0130.05212.00
5.3.30.0150.07311.95
5.3.20.0120.03911.73
5.3.10.0070.06011.70
5.3.00.0070.03811.68
5.2.170.0020.0369.18
5.2.160.0060.0329.18
5.2.150.0070.0479.18
5.2.140.0060.0379.18
5.2.130.0060.0419.14
5.2.120.0080.0309.13
5.2.110.0040.0389.15
5.2.100.0090.0389.14
5.2.90.0050.0369.14
5.2.80.0060.0319.14
5.2.70.0040.0319.13
5.2.60.0110.0299.09
5.2.50.0090.0579.06
5.2.40.0160.0499.03
5.2.30.0080.0439.01
5.2.20.0140.0689.00
5.2.10.0110.0438.93
5.2.00.0080.0358.78
5.1.60.0170.0648.06
5.1.50.0050.0298.06
5.1.40.0080.0418.05
5.1.30.0110.0518.40
5.1.20.0210.0808.42
5.1.10.0050.0868.14
5.1.00.0120.0648.14
5.0.50.0090.0426.62
5.0.40.0140.0456.48
5.0.30.0070.0706.29
5.0.20.0170.0386.26
5.0.10.0060.0526.24
5.0.00.0060.0566.23
4.4.90.0090.0394.78
4.4.80.0160.0704.75
4.4.70.0030.0324.75
4.4.60.0060.0224.75
4.4.50.0060.0224.77
4.4.40.0030.0344.71
4.4.30.0030.0234.76
4.4.20.0040.0174.84
4.4.10.0030.0164.85
4.4.00.0050.0304.76
4.3.110.0070.0234.67
4.3.100.0050.0174.67
4.3.90.0080.0324.63
4.3.80.0050.0464.59
4.3.70.0060.0284.63
4.3.60.0080.0364.63
4.3.50.0050.0304.63
4.3.40.0080.0604.54
4.3.30.0020.0193.29
4.3.20.0020.0183.26
4.3.10.0010.0183.22
4.3.00.0030.0206.77

preferences:
145.42 ms | 1394 KiB | 7 Q