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.0070.04512.02
5.4.340.0070.03512.02
5.4.320.0110.03612.51
5.4.310.0100.03912.50
5.4.300.0080.03712.51
5.4.290.0110.04112.50
5.4.280.0060.04212.41
5.4.270.0080.04012.40
5.4.260.0160.03312.40
5.4.250.0100.03512.40
5.4.240.0080.03912.40
5.4.230.0060.03812.39
5.4.220.0110.03812.39
5.4.210.0110.03812.39
5.4.200.0080.04012.39
5.4.190.0090.04212.39
5.4.180.0060.04012.39
5.4.170.0070.04412.39
5.4.160.0080.04112.39
5.4.150.0070.04012.39
5.4.140.0110.04112.08
5.4.130.0030.05012.06
5.4.120.0060.04612.02
5.4.110.0080.03812.03
5.4.100.0100.03812.03
5.4.90.0050.04512.02
5.4.80.0090.03712.03
5.4.70.0080.05312.02
5.4.60.0080.04412.02
5.4.50.0090.04112.02
5.4.40.0090.04212.01
5.4.30.0070.04812.00
5.4.20.0110.04312.00
5.4.10.0130.05012.00
5.4.00.0060.04011.50
5.3.290.0070.04912.80
5.3.280.0090.04212.71
5.3.270.0060.04512.72
5.3.260.0100.04412.72
5.3.250.0090.05012.71
5.3.240.0090.05012.71
5.3.230.0070.04912.71
5.3.220.0110.04712.68
5.3.210.0060.05612.68
5.3.200.0080.04912.68
5.3.190.0070.04812.68
5.3.180.0070.04812.67
5.3.170.0120.04412.67
5.3.160.0060.05212.67
5.3.150.0100.04812.67
5.3.140.0060.05012.66
5.3.130.0050.05512.66
5.3.120.0100.04912.66
5.3.110.0060.05412.66
5.3.100.0070.04812.12
5.3.90.0090.04812.10
5.3.80.0090.04612.09
5.3.70.0100.04512.09
5.3.60.0100.04512.07
5.3.50.0090.04612.02
5.3.40.0080.04812.02
5.3.30.0090.04711.98
5.3.20.0070.04711.75
5.3.10.0080.04711.73
5.3.00.0080.04911.71
5.2.170.0050.0429.21
5.2.160.0070.0399.21
5.2.150.0040.0429.21
5.2.140.0060.0409.21
5.2.130.0060.0409.17
5.2.120.0070.0389.17
5.2.110.0100.0349.18
5.2.100.0050.0399.17
5.2.90.0060.0409.17
5.2.80.0060.0419.17
5.2.70.0050.0419.17
5.2.60.0020.0449.13
5.2.50.0040.0439.09
5.2.40.0070.0389.07
5.2.30.0050.0389.05
5.2.20.0090.0409.04
5.2.10.0080.0368.95
5.2.00.0080.0278.79
5.1.60.0060.0258.08
5.1.50.0090.0228.08
5.1.40.0050.0278.06
5.1.30.0070.0288.41
5.1.20.0040.0318.43
5.1.10.0060.0328.15
5.1.00.0030.0358.16
5.0.50.0060.0196.64
5.0.40.0030.0256.49
5.0.30.0050.0346.30
5.0.20.0040.0246.27
5.0.10.0050.0246.26
5.0.00.0040.0326.25
4.4.90.0040.0164.78
4.4.80.0050.0164.75
4.4.70.0040.0184.76
4.4.60.0060.0154.76
4.4.50.0050.0164.77
4.4.40.0040.0294.71
4.4.30.0000.0204.76
4.4.20.0040.0224.84
4.4.10.0040.0164.85
4.4.00.0010.0284.76
4.3.110.0050.0164.67
4.3.100.0050.0144.66
4.3.90.0030.0154.63
4.3.80.0110.0184.59
4.3.70.0040.0154.63
4.3.60.0110.0104.63
4.3.50.0070.0124.63
4.3.40.0020.0284.54
4.3.30.0020.0173.30
4.3.20.0030.0163.28
4.3.10.0030.0153.23
4.3.00.0100.0206.78

preferences:
135 ms | 1386 KiB | 7 Q