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.0050.04612.03
5.4.340.0070.03812.03
5.4.320.0090.04612.52
5.4.310.0080.05612.50
5.4.300.0070.04812.52
5.4.290.0110.07012.51
5.4.280.0090.05312.41
5.4.270.0060.05312.40
5.4.260.0060.05412.40
5.4.250.0070.05312.41
5.4.240.0070.05412.40
5.4.230.0080.05512.39
5.4.220.0090.04912.39
5.4.210.0110.05112.40
5.4.200.0110.04812.40
5.4.190.0100.05112.39
5.4.180.0090.05212.39
5.4.170.0100.05212.40
5.4.160.0200.07012.40
5.4.150.0080.06012.39
5.4.140.0170.07412.09
5.4.130.0090.05612.07
5.4.120.0070.04712.03
5.4.110.0070.04112.03
5.4.100.0080.04412.03
5.4.90.0120.09812.03
5.4.80.0070.04212.03
5.4.70.0080.05512.02
5.4.60.0070.04812.03
5.4.50.0120.05512.02
5.4.40.0060.03312.02
5.4.30.0060.03912.00
5.4.20.0080.03412.00
5.4.10.0170.07312.01
5.4.00.0080.06011.50
5.3.290.0080.04312.80
5.3.280.0080.04312.71
5.3.270.0100.06312.73
5.3.260.0160.06112.72
5.3.250.0210.08112.72
5.3.240.0140.07212.72
5.3.230.0140.05312.70
5.3.220.0120.04912.68
5.3.210.0140.08312.68
5.3.200.0130.05912.68
5.3.190.0120.04412.68
5.3.180.0130.06912.66
5.3.170.0060.04712.67
5.3.160.0080.05112.67
5.3.150.0110.05112.67
5.3.140.0080.04712.66
5.3.130.0080.04812.65
5.3.120.0090.04412.66
5.3.110.0040.04312.66
5.3.100.0070.04012.13
5.3.90.0120.04612.10
5.3.80.0110.04612.09
5.3.70.0120.05912.09
5.3.60.0130.04812.08
5.3.50.0110.04112.02
5.3.40.0120.03612.02
5.3.30.0050.04111.98
5.3.20.0080.03711.76
5.3.10.0090.04811.73
5.3.00.0100.05511.71
5.2.170.0110.0329.21
5.2.160.0070.0339.21
5.2.150.0070.0369.21
5.2.140.0050.0369.21
5.2.130.0100.0299.18
5.2.120.0060.0329.17
5.2.110.0050.0369.18
5.2.100.0080.0399.18
5.2.90.0060.0329.17
5.2.80.0080.0339.17
5.2.70.0060.0369.17
5.2.60.0070.0419.13
5.2.50.0090.0409.09
5.2.40.0160.0599.07
5.2.30.0070.0449.04
5.2.20.0050.0299.03
5.2.10.0030.0348.94
5.2.00.0060.0288.80
5.1.60.0060.0238.09
5.1.50.0030.0278.08
5.1.40.0040.0328.06
5.1.30.0050.0338.41
5.1.20.0020.0328.44
5.1.10.0060.0598.16
5.1.00.0060.0308.16
5.0.50.0060.0236.64
5.0.40.0070.0236.50
5.0.30.0040.0366.30
5.0.20.0110.0456.27
5.0.10.0050.0236.26
5.0.00.0040.0376.25
4.4.90.0060.0194.78
4.4.80.0060.0174.75
4.4.70.0060.0144.75
4.4.60.0150.0374.75
4.4.50.0100.0234.77
4.4.40.0060.0354.71
4.4.30.0020.0394.76
4.4.20.0040.0154.85
4.4.10.0020.0214.85
4.4.00.0030.0284.76
4.3.110.0010.0204.67
4.3.100.0030.0164.67
4.3.90.0040.0164.63
4.3.80.0020.0294.59
4.3.70.0100.0314.63
4.3.60.0050.0334.63
4.3.50.0060.0184.62
4.3.40.0060.0294.54
4.3.30.0030.0203.30
4.3.20.0050.0253.28
4.3.10.0060.0193.23
4.3.00.0070.0237.27

preferences:
137.43 ms | 1394 KiB | 7 Q