3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test() { public static foo() { echo "foo" . PHP_EOL; } } test::foo();

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.0040.03812.02
5.4.340.0070.03412.02
5.4.320.0050.03812.51
5.4.310.0090.03812.50
5.4.300.0070.04312.51
5.4.290.0080.04212.50
5.4.280.0060.03912.40
5.4.270.0100.03512.40
5.4.260.0070.04012.40
5.4.250.0060.04112.40
5.4.240.0070.03812.40
5.4.230.0060.05712.39
5.4.220.0100.03912.39
5.4.210.0090.04212.39
5.4.200.0120.04412.39
5.4.190.0090.03512.39
5.4.180.0080.03712.39
5.4.170.0060.04312.39
5.4.160.0070.04612.39
5.4.150.0050.03812.39
5.4.140.0060.03812.08
5.4.130.0050.03712.06
5.4.120.0040.04012.02
5.4.110.0050.03912.02
5.4.100.0040.04212.02
5.4.90.0070.03912.02
5.4.80.0100.03812.02
5.4.70.0060.03812.02
5.4.60.0080.03712.02
5.4.50.0040.04412.02
5.4.40.0080.03512.01
5.4.30.0080.03712.00
5.4.20.0090.03912.00
5.4.10.0080.04512.00
5.4.00.0080.03811.50
5.3.290.0050.04412.80
5.3.280.0060.03912.71
5.3.270.0030.04212.72
5.3.260.0120.03312.72
5.3.250.0090.04112.72
5.3.240.0070.04112.72
5.3.230.0090.04612.71
5.3.220.0100.05212.68
5.3.210.0120.03812.68
5.3.200.0120.04712.68
5.3.190.0080.04812.68
5.3.180.0130.04712.67
5.3.170.0110.04912.67
5.3.160.0090.05012.67
5.3.150.0130.04712.67
5.3.140.0050.05312.66
5.3.130.0090.05112.66
5.3.120.0080.05212.66
5.3.110.0070.05312.65
5.3.100.0080.04912.11
5.3.90.0090.05212.10
5.3.80.0120.04712.09
5.3.70.0100.04812.09
5.3.60.0070.05312.07
5.3.50.0130.04912.02
5.3.40.0130.06112.02
5.3.30.0080.05311.98
5.3.20.0110.04911.76
5.3.10.0090.05311.73
5.3.00.0060.05011.71
5.2.170.0060.0529.21
5.2.160.0120.0419.21
5.2.150.0090.0459.21
5.2.140.0100.0419.21
5.2.130.0070.0439.17
5.2.120.0100.0399.17
5.2.110.0140.0379.18
5.2.100.0110.0619.17
5.2.90.0060.0459.17
5.2.80.0060.0469.17
5.2.70.0190.0959.17
5.2.60.0040.0429.13
5.2.50.0060.0349.10
5.2.40.0080.0309.07
5.2.30.0070.0309.04
5.2.20.0030.0359.04
5.2.10.0040.0328.94
5.2.00.0110.0288.80
5.1.60.0070.0328.08
5.1.50.0080.0318.08
5.1.40.0030.0358.06
5.1.30.0090.0328.41
5.1.20.0060.0358.44
5.1.10.0060.0338.16
5.1.00.0050.0378.16
5.0.50.0070.0256.63
5.0.40.0060.0266.50
5.0.30.0070.0406.31
5.0.20.0070.0256.27
5.0.10.0070.0316.25
5.0.00.0050.0396.25
4.4.90.0070.0204.78
4.4.80.0080.0194.75
4.4.70.0030.0224.76
4.4.60.0050.0204.75
4.4.50.0140.0224.77
4.4.40.0100.0474.71
4.4.30.0140.0214.76
4.4.20.0030.0294.84
4.4.10.0060.0254.85
4.4.00.0090.0354.76
4.3.110.0070.0244.67
4.3.100.0040.0244.66
4.3.90.0060.0374.63
4.3.80.0050.0344.58
4.3.70.0050.0304.63
4.3.60.0050.0194.63
4.3.50.0010.0234.63
4.3.40.0030.0324.54
4.3.30.0030.0213.30
4.3.20.0010.0233.28
4.3.10.0030.0203.23
4.3.00.0230.0206.78

preferences:
150.05 ms | 1398 KiB | 7 Q