3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?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.0070.03612.01
5.4.340.0050.04312.01
5.4.320.0070.04412.50
5.4.310.0090.04212.49
5.4.300.0080.03812.50
5.4.290.0080.04612.49
5.4.280.0060.05112.39
5.4.270.0070.04512.39
5.4.260.0090.04212.39
5.4.250.0070.04312.39
5.4.240.0080.04312.39
5.4.230.0050.03912.38
5.4.220.0050.04412.38
5.4.210.0060.04412.38
5.4.200.0080.04712.38
5.4.190.0080.04312.38
5.4.180.0050.04412.38
5.4.170.0060.04212.38
5.4.160.0120.04112.38
5.4.150.0070.04712.38
5.4.140.0040.05412.07
5.4.130.0060.04712.05
5.4.120.0060.04912.01
5.4.110.0090.04612.01
5.4.100.0060.04612.01
5.4.90.0140.04412.01
5.4.80.0080.06012.02
5.4.70.0050.05012.00
5.4.60.0060.04812.01
5.4.50.0070.04912.01
5.4.40.0080.04711.99
5.4.30.0110.04411.99
5.4.20.0080.04911.98
5.4.10.0020.05311.99
5.4.00.0080.05011.48
5.3.290.0100.05212.80
5.3.280.0090.04812.71
5.3.270.0060.05612.72
5.3.260.0100.05212.72
5.3.250.0080.04912.72
5.3.240.0070.05212.72
5.3.230.0110.04612.71
5.3.220.0150.04412.68
5.3.210.0080.06112.68
5.3.200.0090.05012.68
5.3.190.0070.05112.68
5.3.180.0110.05012.67
5.3.170.0120.04812.67
5.3.160.0050.05312.68
5.3.150.0070.05112.67
5.3.140.0120.04612.66
5.3.130.0080.05312.65
5.3.120.0080.05112.66
5.3.110.0080.05212.66
5.3.100.0070.04812.12
5.3.90.0060.05012.09
5.3.80.0060.04812.07
5.3.70.0060.04812.07
5.3.60.0060.04812.07
5.3.50.0090.04512.00
5.3.40.0100.04712.00
5.3.30.0060.04811.95
5.3.20.0050.04811.73
5.3.10.0070.04811.70
5.3.00.0060.05311.68
5.2.170.0070.0429.18
5.2.160.0050.0419.18
5.2.150.0050.0569.18
5.2.140.0100.0529.17
5.2.130.0050.0579.14
5.2.120.0150.0449.14
5.2.110.0100.0449.14
5.2.100.0110.0369.14
5.2.90.0050.0409.14
5.2.80.0200.1039.13
5.2.70.0060.0409.14
5.2.60.0070.0459.09
5.2.50.0080.0439.06
5.2.40.0080.0339.03
5.2.30.0030.0409.02
5.2.20.0070.0349.00
5.2.10.0050.0308.92
5.2.00.0030.0348.78
5.1.60.0060.0258.07
5.1.50.0040.0278.07
5.1.40.0040.0348.05
5.1.30.0040.0278.40
5.1.20.0040.0338.42
5.1.10.0040.0318.14
5.1.00.0020.0308.14
5.0.50.0020.0266.63
5.0.40.0040.0206.48
5.0.30.0040.0326.29
5.0.20.0040.0206.27
5.0.10.0060.0196.24
5.0.00.0030.0406.23
4.4.90.0040.0174.78
4.4.80.0040.0204.76
4.4.70.0020.0174.75
4.4.60.0030.0164.76
4.4.50.0050.0154.77
4.4.40.0020.0274.71
4.4.30.0030.0194.76
4.4.20.0010.0234.85
4.4.10.0040.0214.85
4.4.00.0040.0284.76
4.3.110.0080.0194.67
4.3.100.0040.0204.66
4.3.90.0020.0184.63
4.3.80.0050.0334.58
4.3.70.0070.0214.63
4.3.60.0020.0254.63
4.3.50.0100.0184.63
4.3.40.0060.0334.54
4.3.30.0060.0203.28
4.3.20.0050.0223.26
4.3.10.0020.0323.22
4.3.00.0170.0207.10

preferences:
154.55 ms | 1394 KiB | 7 Q