3v4l.org

run code in 300+ PHP versions simultaneously
<?php class person{ var $age = 100; } $xuxu = new person(); echo $xuxu->age; ?

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.0080.05212.03
5.4.340.0090.04012.03
5.4.320.0080.04712.52
5.4.310.0080.05112.51
5.4.300.0160.05112.51
5.4.290.0090.05312.51
5.4.280.0210.07912.41
5.4.270.0170.05312.41
5.4.260.0070.04612.40
5.4.250.0080.05912.40
5.4.240.0110.05512.41
5.4.230.0110.04112.39
5.4.220.0080.04212.39
5.4.210.0060.04212.39
5.4.200.0140.06212.40
5.4.190.0130.05812.39
5.4.180.0100.06212.39
5.4.170.0110.05612.40
5.4.160.0090.04812.39
5.4.150.0140.05312.39
5.4.140.0090.05912.08
5.4.130.0170.05112.07
5.4.120.0090.04612.04
5.4.110.0100.05912.03
5.4.100.0120.06912.03
5.4.90.0150.05612.02
5.4.80.0180.05912.02
5.4.70.0100.04212.02
5.4.60.0130.04412.02
5.4.50.0120.05412.02
5.4.40.0220.06812.02
5.4.30.0110.05512.01
5.4.20.0110.06312.00
5.4.10.0150.07012.01
5.4.00.0160.05811.50
5.3.290.0150.07512.80
5.3.280.0090.06112.71
5.3.270.0120.04512.72
5.3.260.0140.08212.71
5.3.250.0110.05612.72
5.3.240.0140.06412.71
5.3.230.0120.05012.71
5.3.220.0120.06512.68
5.3.210.0140.06112.68
5.3.200.0130.04212.68
5.3.190.0100.04612.68
5.3.180.0090.06112.68
5.3.170.0080.05612.67
5.3.160.0100.05212.67
5.3.150.0130.04012.67
5.3.140.0030.04812.66
5.3.130.0090.05312.66
5.3.120.0100.07312.65
5.3.110.0100.05512.66
5.3.100.0120.05112.11
5.3.90.0110.05112.10
5.3.80.0110.05712.09
5.3.70.0070.06012.09
5.3.60.0040.05312.08
5.3.50.0090.04512.02
5.3.40.0270.08612.02
5.3.30.0130.07511.98
5.3.20.0450.15411.76
5.3.10.0240.07011.72
5.3.00.0080.04211.72
5.2.170.0090.0429.22
5.2.160.0070.0379.21
5.2.150.0100.0449.22
5.2.140.0170.0749.21
5.2.130.0100.0479.17
5.2.120.0080.0499.17
5.2.110.0130.0409.18
5.2.100.0050.0589.17
5.2.90.0070.0349.17
5.2.80.0080.0419.17
5.2.70.0040.0419.16
5.2.60.0100.0489.13
5.2.50.0070.0409.10
5.2.40.0070.0459.07
5.2.30.0090.0329.05
5.2.20.0080.0359.04
5.2.10.0090.0348.94
5.2.00.0190.0718.80
5.1.60.0070.0338.09
5.1.50.0070.0348.09
5.1.40.0040.0368.06
5.1.30.0070.0398.41
5.1.20.0090.0368.43
5.1.10.0050.0358.17
5.1.00.0080.0408.16
5.0.50.0070.0266.63
5.0.40.0050.0266.50
5.0.30.0080.0506.31
5.0.20.0070.0226.28
5.0.10.0070.0196.26
5.0.00.0060.0356.25
4.4.90.0060.0174.78
4.4.80.0050.0194.75
4.4.70.0070.0184.76
4.4.60.0090.0194.75
4.4.50.0110.0274.77
4.4.40.0050.0364.71
4.4.30.0050.0204.76
4.4.20.0050.0274.84
4.4.10.0060.0364.85
4.4.00.0060.0264.76
4.3.110.0000.0234.67
4.3.100.0030.0184.67
4.3.90.0050.0194.63
4.3.80.0060.0294.58
4.3.70.0060.0224.63
4.3.60.0080.0224.63
4.3.50.0080.0254.63
4.3.40.0080.0334.54
4.3.30.0020.0203.30
4.3.20.0030.0253.27
4.3.10.0090.0353.23
4.3.00.0030.0206.84

preferences:
143.92 ms | 1394 KiB | 7 Q