3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cb = function(){ $var = 'This is a function'; }

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.210.0080.03312.36
5.4.200.0220.06612.37
5.4.190.0130.04612.37
5.4.180.0130.04112.37
5.4.170.0120.04512.38
5.4.160.0130.03912.37
5.4.150.0130.04112.36
5.4.140.0170.04912.05
5.4.130.0130.04112.03
5.4.120.0090.04212.00
5.4.110.0110.04212.00
5.4.100.0160.06611.99
5.4.90.0120.04112.00
5.4.80.0090.04211.99
5.4.70.0150.03511.99
5.4.60.0120.03811.99
5.4.50.0130.03811.99
5.4.40.0190.03511.98
5.4.30.0110.04711.98
5.4.20.0100.04711.97
5.4.10.0130.03811.98
5.4.00.0130.03811.47
5.3.270.0130.04112.72
5.3.260.0130.04212.72
5.3.250.0140.03812.72
5.3.240.0150.05312.72
5.3.230.0110.04312.71
5.3.220.0130.04112.68
5.3.210.0090.04512.68
5.3.200.0130.04112.68
5.3.190.0110.04212.68
5.3.180.0130.04512.68
5.3.170.0120.04412.67
5.3.160.0200.06012.67
5.3.150.0140.04512.67
5.3.140.0120.04112.66
5.3.130.0120.04112.65
5.3.120.0130.04112.66
5.3.110.0100.04312.66
5.3.100.0180.03912.12
5.3.90.0120.04012.08
5.3.80.0240.05712.08
5.3.70.0110.04012.08
5.3.60.0100.04212.06
5.3.50.0130.04012.00
5.3.40.0120.03812.00
5.3.30.0100.04011.95
5.3.20.0130.04311.73
5.3.10.0130.03611.69
5.3.00.0110.03911.68
5.2.170.0100.0329.15
5.2.160.0110.0309.15
5.2.150.0090.0329.15
5.2.140.0090.0359.15
5.2.130.0100.0329.11
5.2.120.0130.0279.11
5.2.110.0200.0529.12
5.2.100.0070.0359.11
5.2.90.0100.0339.11
5.2.80.0100.0329.10
5.2.70.0100.0329.10
5.2.60.0160.0629.06
5.2.50.0120.0369.03
5.2.40.0090.0389.01
5.2.30.0110.0328.97
5.2.20.0080.0348.97
5.2.10.0100.0328.89
5.2.00.0070.0328.75
5.1.60.0070.0278.04
5.1.50.0090.0258.04
5.1.40.0070.0278.02
5.1.30.0070.0308.36
5.1.20.0110.0278.39
5.1.10.0080.0288.12
5.1.00.0090.0308.12
5.0.50.0070.0256.59
5.0.40.0070.0226.45
5.0.30.0080.0366.26
5.0.20.0080.0216.23
5.0.10.0070.0216.21
5.0.00.0060.0346.20
4.4.90.0050.0184.78
4.4.80.0070.0194.76
4.4.70.0070.0184.76
4.4.60.0070.0164.76
4.4.50.0060.0164.77
4.4.40.0050.0304.71
4.4.30.0040.0214.76
4.4.20.0070.0154.84
4.4.10.0050.0194.85
4.4.00.0040.0294.76
4.3.110.0050.0184.67
4.3.100.0170.0374.66
4.3.90.0050.0184.63
4.3.80.0070.0254.58
4.3.70.0060.0154.63
4.3.60.0070.0144.63
4.3.50.0030.0194.63
4.3.40.0050.0264.54
4.3.30.0080.0133.28
4.3.20.0020.0193.26
4.3.10.0040.0173.22
4.3.00.0070.0277.32

preferences:
148.27 ms | 1394 KiB | 7 Q