3v4l.org

run code in 300+ PHP versions simultaneously
<?php function variable_get($foo) {} $id = variable_get(?bar);

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.310.0120.04212.51
5.4.300.0090.05112.51
5.4.290.0100.05012.51
5.4.280.0050.04012.41
5.4.270.0070.03612.41
5.4.260.0120.03912.41
5.4.250.0060.03812.41
5.4.240.0060.04912.41
5.4.230.0130.04612.40
5.4.220.0070.05112.40
5.4.210.0080.05012.40
5.4.200.0060.04112.40
5.4.190.0050.04912.40
5.4.180.0060.05312.39
5.4.170.0050.04712.40
5.4.160.0070.04712.40
5.4.150.0090.04412.39
5.4.140.0090.03512.08
5.4.130.0040.03812.06
5.4.120.0060.03612.03
5.4.110.0090.04612.02
5.4.100.0080.04512.03
5.4.90.0120.04912.03
5.4.80.0060.04212.02
5.4.70.0090.03312.02
5.4.60.0140.05312.02
5.4.50.0060.03612.02
5.4.40.0080.04112.01
5.4.30.0070.04912.00
5.4.20.0090.05012.00
5.4.10.0070.05112.01
5.4.00.0090.05011.50
5.3.290.0070.03812.80
5.3.280.0110.06712.71
5.3.270.0060.04512.72
5.3.260.0140.03612.72
5.3.250.0080.04012.72
5.3.240.0100.04112.72
5.3.230.0060.04012.70
5.3.220.0080.03912.68
5.3.210.0060.04212.68
5.3.200.0090.03612.68
5.3.190.0070.04312.68
5.3.180.0090.04612.67
5.3.170.0050.04612.67
5.3.160.0120.04812.67
5.3.150.0050.04812.68
5.3.140.0080.05012.66
5.3.130.0080.05412.66
5.3.120.0220.04912.66
5.3.110.0130.05512.66
5.3.100.0150.04312.13
5.3.90.0070.03612.10
5.3.80.0120.04012.09
5.3.70.0070.03812.09
5.3.60.0040.04012.08
5.3.50.0110.03212.02
5.3.40.0110.04512.02
5.3.30.0060.03911.98
5.3.20.0060.03911.77
5.3.10.0120.04311.73
5.3.00.0080.04811.71
5.2.170.0080.0529.22
5.2.160.0110.0449.22
5.2.150.0070.0449.22
5.2.140.0070.0319.21
5.2.130.0070.0289.18
5.2.120.0040.0309.17
5.2.110.0040.0329.18
5.2.100.0050.0329.17
5.2.90.0050.0329.18
5.2.80.0090.0299.17
5.2.70.0070.0289.18
5.2.60.0040.0339.13
5.2.50.0060.0369.10
5.2.40.0050.0309.07
5.2.30.0030.0339.05
5.2.20.0060.0299.04
5.2.10.0050.0298.94
5.2.00.0120.0248.80
5.1.60.0070.0308.09
5.1.50.0080.0328.08
5.1.40.0090.0378.06
5.1.30.0060.0378.42
5.1.20.0080.0378.44
5.1.10.0070.0348.16
5.1.00.0080.0288.16
5.0.50.0050.0306.64
5.0.40.0080.0176.50
5.0.30.0050.0376.31
5.0.20.0090.0236.28
5.0.10.0110.0326.25
5.0.00.0040.0386.25
4.4.90.0050.0224.77
4.4.80.0040.0224.76
4.4.70.0030.0234.75
4.4.60.0040.0224.75
4.4.50.0100.0214.77
4.4.40.0070.0354.70
4.4.30.0060.0214.76
4.4.20.0080.0224.85
4.4.10.0020.0224.85
4.4.00.0030.0344.76
4.3.110.0060.0244.67
4.3.100.0030.0224.67
4.3.90.0040.0234.63
4.3.80.0060.0334.58
4.3.70.0070.0184.63
4.3.60.0050.0224.63
4.3.50.0060.0344.63
4.3.40.0020.0264.54
4.3.30.0020.0173.30
4.3.20.0040.0143.28
4.3.10.0030.0143.23
4.3.00.0070.01715.91

preferences:
134.21 ms | 1394 KiB | 7 Q