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.0350.09812.03
5.4.340.0140.05712.02
5.4.320.0270.10812.51
5.4.310.0520.15312.50
5.4.300.0280.09712.51
5.4.290.0080.05912.51
5.4.280.0150.06612.40
5.4.270.0220.09912.40
5.4.260.0110.05712.40
5.4.250.0070.06912.40
5.4.240.0080.04512.40
5.4.230.0080.05512.39
5.4.220.0120.05212.39
5.4.210.0110.05312.39
5.4.200.0150.05712.39
5.4.190.0110.04112.39
5.4.180.0100.04412.39
5.4.170.0130.05212.40
5.4.160.0140.05512.39
5.4.150.0150.05512.39
5.4.140.0190.12712.08
5.4.130.0280.12312.06
5.4.120.0110.11512.03
5.4.110.0100.05212.02
5.4.100.0090.05212.02
5.4.90.0090.06412.02
5.4.80.0290.14112.02
5.4.70.0150.07512.02
5.4.60.0230.05012.02
5.4.50.0100.05112.02
5.4.40.0240.07012.01
5.4.30.0150.06812.00
5.4.20.0120.05412.00
5.4.10.0130.06512.00
5.4.00.0160.15711.50
5.3.290.0180.06512.80
5.3.280.0210.10612.71
5.3.270.0470.11412.72
5.3.260.0070.09212.72
5.3.250.0120.06812.72
5.3.240.0270.13112.72
5.3.230.0200.09812.71
5.3.220.0150.08212.68
5.3.210.0130.06012.68
5.3.200.0120.05512.68
5.3.190.0090.05612.68
5.3.180.0130.05712.67
5.3.170.0090.05612.67
5.3.160.0110.05412.67
5.3.150.0110.04912.68
5.3.140.0060.05312.66
5.3.130.0070.05012.66
5.3.120.0100.05712.66
5.3.110.0090.05412.66
5.3.100.0170.07012.12
5.3.90.0140.04912.10
5.3.80.0060.05212.09
5.3.70.0160.07112.09
5.3.60.0120.06012.07
5.3.50.0070.05412.02
5.3.40.0200.05512.02
5.3.30.0090.04511.98
5.3.20.0110.06911.76
5.3.10.0120.04711.73
5.3.00.0140.04711.71
5.2.170.0090.0629.21
5.2.160.0040.0659.21
5.2.150.0080.0429.21
5.2.140.0080.0449.21
5.2.130.0080.0569.17
5.2.120.0130.0419.17
5.2.110.0110.0499.18
5.2.100.0100.0439.17
5.2.90.0160.0839.17
5.2.80.0180.0539.17
5.2.70.0080.0479.17
5.2.60.0160.0469.13
5.2.50.0140.0549.10
5.2.40.0100.0529.07
5.2.30.0080.0369.04
5.2.20.0090.0439.04
5.2.10.0080.0338.94
5.2.00.0110.0858.80
5.1.60.0090.0328.09
5.1.50.0090.0388.09
5.1.40.0080.0448.06
5.1.30.0120.0688.41
5.1.20.0080.0378.44
5.1.10.0070.0348.16
5.1.00.0090.0368.16
5.0.50.0060.0326.63
5.0.40.0100.0376.49
5.0.30.0100.0326.30
5.0.20.0090.0316.27
5.0.10.0060.0246.25
5.0.00.0050.0406.25
4.4.90.0090.0254.78
4.4.80.0060.0234.75
4.4.70.0050.0274.76
4.4.60.0050.0244.75
4.4.50.0070.0234.77
4.4.40.0020.0384.71
4.4.30.0150.0464.76
4.4.20.0100.0724.85
4.4.10.0040.0234.85
4.4.00.0030.0394.76
4.3.110.0080.0224.67
4.3.100.0030.0254.66
4.3.90.0050.0294.63
4.3.80.0150.0494.58
4.3.70.0040.0234.63
4.3.60.0080.0194.63
4.3.50.0130.0994.63
4.3.40.0040.0294.54
4.3.30.0070.0183.30
4.3.20.0090.0683.28
4.3.10.0040.0443.23
4.3.00.0170.0206.84

preferences:
143.13 ms | 1394 KiB | 7 Q