3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static ab() { print "ab"; } } $b = new A(); $b->ab();

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.320.0060.03712.50
5.4.310.0070.03812.51
5.4.300.0070.03512.50
5.4.290.0060.03812.50
5.4.280.0080.04012.40
5.4.270.0030.05112.40
5.4.260.0050.03912.40
5.4.250.0070.03712.40
5.4.240.0060.03812.40
5.4.230.0030.04612.39
5.4.220.0090.03512.39
5.4.210.0060.05112.39
5.4.200.0090.05012.39
5.4.190.0090.03312.39
5.4.180.0080.03512.39
5.4.170.0080.05012.39
5.4.160.0080.03812.39
5.4.150.0070.04012.39
5.4.140.0100.03912.08
5.4.130.0080.03612.06
5.4.120.0080.03812.02
5.4.110.0070.03912.03
5.4.100.0060.03512.02
5.4.90.0090.03812.02
5.4.80.0040.03812.02
5.4.70.0120.02912.02
5.4.60.0070.03412.02
5.4.50.0070.03612.02
5.4.40.0060.04712.00
5.4.30.0120.02912.00
5.4.20.0080.03312.00
5.4.10.0100.04812.00
5.4.00.0030.03911.50
5.3.290.0110.05212.80
5.3.280.0110.04012.70
5.3.270.0100.04812.73
5.3.260.0080.04012.72
5.3.250.0100.04512.72
5.3.240.0080.04812.72
5.3.230.0110.04612.71
5.3.220.0140.04912.68
5.3.210.0120.05312.68
5.3.200.0120.05512.68
5.3.190.0100.05412.68
5.3.180.0080.05412.67
5.3.170.0130.04912.67
5.3.160.0110.04612.67
5.3.150.0110.04412.68
5.3.140.0070.05212.66
5.3.130.0120.04912.66
5.3.120.0120.05012.66
5.3.110.0100.05012.66
5.3.100.0120.04212.12
5.3.90.0140.04512.10
5.3.80.0120.05712.09
5.3.70.0070.04912.09
5.3.60.0070.04112.08
5.3.50.0120.03012.02
5.3.40.0100.03312.02
5.3.30.0070.03511.98
5.3.20.0100.03111.75
5.3.10.0070.03411.73
5.3.00.0070.03611.71
5.2.170.0070.0319.21
5.2.160.0040.0319.21
5.2.150.0060.0299.21
5.2.140.0080.0299.21
5.2.130.0020.0329.17
5.2.120.0050.0369.17
5.2.110.0050.0339.18
5.2.100.0110.0239.18
5.2.90.0080.0269.17
5.2.80.0060.0449.17
5.2.70.0060.0429.17
5.2.60.0060.0329.13
5.2.50.0060.0299.09
5.2.40.0100.0249.07
5.2.30.0040.0369.04
5.2.20.0070.0289.04
5.2.10.0060.0278.95
5.2.00.0080.0258.80
5.1.60.0040.0258.09
5.1.50.0050.0248.09
5.1.40.0060.0258.07
5.1.30.0060.0258.41
5.1.20.0040.0288.43
5.1.10.0100.0288.16
5.1.00.0110.0308.16
5.0.50.0080.0246.64
5.0.40.0070.0166.50
5.0.30.0050.0316.30
5.0.20.0030.0216.28
5.0.10.0030.0236.25
5.0.00.0010.0336.25
4.4.90.0050.0134.78
4.4.80.0020.0164.75
4.4.70.0020.0164.75
4.4.60.0060.0124.76
4.4.50.0040.0144.77
4.4.40.0060.0234.71
4.4.30.0030.0164.76
4.4.20.0020.0184.84
4.4.10.0040.0154.85
4.4.00.0050.0274.76
4.3.110.0070.0124.67
4.3.100.0060.0154.67
4.3.90.0030.0154.64
4.3.80.0040.0234.58
4.3.70.0090.0094.63
4.3.60.0030.0144.63
4.3.50.0040.0144.63
4.3.40.0030.0244.54
4.3.30.0020.0163.30
4.3.20.0050.0133.28
4.3.10.0040.0143.23
4.3.00.0030.01018.16

preferences:
149.73 ms | 1398 KiB | 7 Q