3v4l.org

run code in 300+ PHP versions simultaneously
<?php class person{ $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.0090.04612.03
5.4.340.0050.04512.02
5.4.320.0120.04212.51
5.4.310.0120.08112.51
5.4.300.0130.05312.51
5.4.290.0090.05412.50
5.4.280.0130.05012.40
5.4.270.0130.04912.40
5.4.260.0090.05712.40
5.4.250.0110.05312.40
5.4.240.0090.05012.40
5.4.230.0110.04512.39
5.4.220.0120.04612.39
5.4.210.0100.05212.39
5.4.200.0100.05412.39
5.4.190.0160.05512.39
5.4.180.0100.05612.39
5.4.170.0120.05412.40
5.4.160.0120.05212.39
5.4.150.0120.05512.39
5.4.140.0130.04912.08
5.4.130.0100.05112.06
5.4.120.0130.04812.03
5.4.110.0130.05612.02
5.4.100.0080.05212.02
5.4.90.0100.05012.02
5.4.80.0110.06512.02
5.4.70.0110.05312.02
5.4.60.0100.03912.02
5.4.50.0140.05912.02
5.4.40.0110.04512.00
5.4.30.0070.05112.00
5.4.20.0110.05212.00
5.4.10.0130.05012.00
5.4.00.0090.04611.49
5.3.290.0140.05412.80
5.3.280.0110.07312.71
5.3.270.0120.05412.72
5.3.260.0140.04512.72
5.3.250.0090.05912.72
5.3.240.0110.05312.71
5.3.230.0120.05112.71
5.3.220.0130.04912.68
5.3.210.0110.05212.68
5.3.200.0130.05812.68
5.3.190.0090.05012.68
5.3.180.0090.04612.67
5.3.170.0100.04512.67
5.3.160.0110.06912.67
5.3.150.0100.05612.68
5.3.140.0140.05412.66
5.3.130.0100.06312.66
5.3.120.0120.05812.66
5.3.110.0090.05612.66
5.3.100.0070.04312.12
5.3.90.0100.04912.10
5.3.80.0100.04112.09
5.3.70.0070.05012.09
5.3.60.0090.05412.07
5.3.50.0060.04512.02
5.3.40.0090.04612.02
5.3.30.0090.05411.98
5.3.20.0090.05211.76
5.3.10.0060.05211.73
5.3.00.0120.04611.71
5.2.170.0070.0369.21
5.2.160.0090.0359.21
5.2.150.0050.0399.21
5.2.140.0070.0459.21
5.2.130.0090.0499.17
5.2.120.0050.0449.17
5.2.110.0130.0459.18
5.2.100.0050.0539.17
5.2.90.0080.0479.17
5.2.80.0100.0439.17
5.2.70.0090.0419.17
5.2.60.0090.0419.13
5.2.50.0070.0419.10
5.2.40.0060.0409.07
5.2.30.0100.0419.05
5.2.20.0120.0369.03
5.2.10.0100.0418.94
5.2.00.0120.0418.80
5.1.60.0070.0468.08
5.1.50.0130.0388.08
5.1.40.0090.0478.06
5.1.30.0140.0498.41
5.1.20.0100.0478.43
5.1.10.0110.0458.16
5.1.00.0090.0428.16
5.0.50.0060.0306.64
5.0.40.0050.0296.50
5.0.30.0070.0386.30
5.0.20.0070.0276.28
5.0.10.0070.0286.26
5.0.00.0050.0416.25
4.4.90.0060.0204.78
4.4.80.0070.0254.76
4.4.70.0060.0214.75
4.4.60.0040.0214.75
4.4.50.0040.0204.77
4.4.40.0070.0344.71
4.4.30.0080.0204.76
4.4.20.0060.0234.84
4.4.10.0060.0234.85
4.4.00.0050.0344.76
4.3.110.0040.0214.67
4.3.100.0040.0194.66
4.3.90.0070.0214.64
4.3.80.0060.0324.59
4.3.70.0060.0274.63
4.3.60.0080.0194.63
4.3.50.0070.0204.63
4.3.40.0060.0324.54
4.3.30.0040.0203.30
4.3.20.0040.0213.28
4.3.10.0040.0223.23
4.3.00.0130.0206.84

preferences:
143.42 ms | 1394 KiB | 7 Q