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.0170.04512.03
5.4.340.0070.04512.02
5.4.320.0080.04412.50
5.4.310.0110.05512.50
5.4.300.0130.04812.51
5.4.290.0080.05312.50
5.4.280.0130.06812.40
5.4.270.0150.05112.40
5.4.260.0090.05312.40
5.4.250.0060.04712.40
5.4.240.0130.04512.40
5.4.230.0110.04012.39
5.4.220.0130.04512.39
5.4.210.0090.03912.39
5.4.200.0120.04312.40
5.4.190.0060.03912.39
5.4.180.0090.03712.39
5.4.170.0100.03712.40
5.4.160.0120.05512.39
5.4.150.0100.04412.39
5.4.140.0130.04512.08
5.4.130.0130.04012.06
5.4.120.0090.04012.03
5.4.110.0390.10512.02
5.4.100.0420.16412.02
5.4.90.0050.06612.02
5.4.80.0120.05312.02
5.4.70.0090.04712.02
5.4.60.0120.05812.02
5.4.50.0140.04612.02
5.4.40.0100.04812.01
5.4.30.0130.03612.00
5.4.20.0060.05612.00
5.4.10.0150.04412.00
5.4.00.0060.05411.49
5.3.290.0140.05812.80
5.3.280.0090.06212.71
5.3.270.0130.05212.72
5.3.260.0080.04412.71
5.3.250.0050.04512.72
5.3.240.0070.04412.72
5.3.230.0070.04412.71
5.3.220.0060.04412.68
5.3.210.0060.05312.68
5.3.200.0070.04112.68
5.3.190.0090.05012.68
5.3.180.0120.04812.68
5.3.170.0110.04412.67
5.3.160.0070.03912.67
5.3.150.0090.04712.67
5.3.140.0060.04112.66
5.3.130.0080.04912.66
5.3.120.0100.05012.66
5.3.110.0180.05312.66
5.3.100.0120.05812.12
5.3.90.0110.05012.10
5.3.80.0120.05212.10
5.3.70.0110.05612.09
5.3.60.0140.06312.07
5.3.50.0130.05212.02
5.3.40.0250.08312.02
5.3.30.0120.04411.98
5.3.20.0140.05511.75
5.3.10.0120.05611.73
5.3.00.0130.05211.71
5.2.170.0100.0439.21
5.2.160.0060.0439.21
5.2.150.0100.0419.21
5.2.140.0060.0409.21
5.2.130.0070.0429.17
5.2.120.0090.0379.17
5.2.110.0080.0449.17
5.2.100.0120.0479.17
5.2.90.0080.0419.17
5.2.80.0070.0379.17
5.2.70.0110.0549.17
5.2.60.0090.0409.13
5.2.50.0110.0349.10
5.2.40.0070.0389.07
5.2.30.0090.0439.04
5.2.20.0090.0399.04
5.2.10.0040.0488.95
5.2.00.0090.0428.80
5.1.60.0050.0368.08
5.1.50.0050.0368.08
5.1.40.0060.0358.07
5.1.30.0060.0388.41
5.1.20.0070.0378.43
5.1.10.0060.0368.16
5.1.00.0090.0338.16
5.0.50.0050.0316.64
5.0.40.0040.0296.50
5.0.30.0060.0436.31
5.0.20.0070.0286.27
5.0.10.0060.0286.26
5.0.00.0080.0376.25
4.4.90.0040.0234.78
4.4.80.0050.0234.75
4.4.70.0060.0214.76
4.4.60.0020.0184.76
4.4.50.0050.0214.77
4.4.40.0050.0274.71
4.4.30.0050.0154.76
4.4.20.0020.0224.85
4.4.10.0020.0184.85
4.4.00.0060.0294.76
4.3.110.0020.0234.67
4.3.100.0050.0244.66
4.3.90.0050.0204.63
4.3.80.0040.0324.59
4.3.70.0050.0254.63
4.3.60.0050.0224.63
4.3.50.0030.0244.63
4.3.40.0030.0354.54
4.3.30.0020.0233.30
4.3.20.0040.0213.28
4.3.10.0010.0233.23
4.3.00.0130.0236.84

preferences:
151.57 ms | 1394 KiB | 7 Q