3v4l.org

run code in 300+ PHP versions simultaneously
<?php class person{ $age = 18; } $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.0060.03912.03
5.4.340.0060.04412.02
5.4.320.0080.04712.51
5.4.310.0070.05412.51
5.4.300.0070.04612.51
5.4.290.0100.04412.51
5.4.280.0120.03612.40
5.4.270.0080.04512.40
5.4.260.0100.04412.40
5.4.250.0140.05112.40
5.4.240.0060.04612.40
5.4.230.0110.04312.39
5.4.220.0100.04512.39
5.4.210.0130.07312.39
5.4.200.0110.06112.39
5.4.190.0110.05312.39
5.4.180.0080.05412.39
5.4.170.0050.05812.39
5.4.160.0090.04312.39
5.4.150.0120.04512.39
5.4.140.0130.04712.08
5.4.130.0090.04612.06
5.4.120.0130.03612.03
5.4.110.0080.03812.02
5.4.100.0120.04312.03
5.4.90.0140.04612.02
5.4.80.0110.04912.03
5.4.70.0060.05112.02
5.4.60.0100.04812.02
5.4.50.0080.05012.02
5.4.40.0080.05112.00
5.4.30.0050.04012.00
5.4.20.0060.04412.00
5.4.10.0070.04212.00
5.4.00.0130.04011.49
5.3.290.0080.04412.80
5.3.280.0100.03912.71
5.3.270.0150.04712.73
5.3.260.0070.05812.72
5.3.250.0100.04012.72
5.3.240.0080.04312.72
5.3.230.0080.04012.71
5.3.220.0070.04412.68
5.3.210.0070.04712.68
5.3.200.0110.04012.68
5.3.190.0100.04812.68
5.3.180.0080.04712.67
5.3.170.0080.04212.67
5.3.160.0090.04712.67
5.3.150.0120.05112.67
5.3.140.0100.04212.66
5.3.130.0090.05012.66
5.3.120.0080.04612.66
5.3.110.0090.04412.66
5.3.100.0120.04112.12
5.3.90.0100.05312.10
5.3.80.0100.05112.09
5.3.70.0080.05012.09
5.3.60.0100.04912.07
5.3.50.0070.04112.02
5.3.40.0080.03912.02
5.3.30.0070.03911.98
5.3.20.0100.03411.76
5.3.10.0090.04011.73
5.3.00.0070.05811.71
5.2.170.0080.0449.21
5.2.160.0070.0349.21
5.2.150.0110.0309.21
5.2.140.0090.0319.21
5.2.130.0050.0329.16
5.2.120.0080.0359.17
5.2.110.0060.0319.18
5.2.100.0080.0289.18
5.2.90.0060.0329.17
5.2.80.0080.0379.17
5.2.70.0080.0429.17
5.2.60.0110.0459.12
5.2.50.0090.0409.09
5.2.40.0120.0379.07
5.2.30.0050.0519.04
5.2.20.0100.0309.04
5.2.10.0040.0358.94
5.2.00.0110.0308.80
5.1.60.0090.0348.09
5.1.50.0080.0328.08
5.1.40.0040.0378.06
5.1.30.0060.0318.41
5.1.20.0060.0288.43
5.1.10.0040.0308.16
5.1.00.0050.0288.16
5.0.50.0030.0236.64
5.0.40.0050.0216.50
5.0.30.0050.0356.31
5.0.20.0070.0206.27
5.0.10.0080.0236.26
5.0.00.0080.0366.25
4.4.90.0030.0194.78
4.4.80.0080.0214.75
4.4.70.0020.0214.76
4.4.60.0040.0174.75
4.4.50.0050.0194.77
4.4.40.0030.0294.71
4.4.30.0040.0204.76
4.4.20.0050.0184.85
4.4.10.0070.0194.85
4.4.00.0040.0394.75
4.3.110.0040.0264.66
4.3.100.0050.0214.67
4.3.90.0070.0174.63
4.3.80.0050.0354.58
4.3.70.0070.0184.63
4.3.60.0050.0204.63
4.3.50.0020.0174.63
4.3.40.0030.0284.54
4.3.30.0040.0183.30
4.3.20.0030.0213.28
4.3.10.0040.0163.23
4.3.00.0130.0236.84

preferences:
140.44 ms | 1394 KiB | 7 Q