3v4l.org

run code in 300+ PHP versions simultaneously
<?php class void { public function bind() { } public function closure() { return function () use ($this) { return $this->bind(); }; } }

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.270.0080.04812.38
5.4.260.0090.04812.37
5.4.250.0090.04812.37
5.4.240.0060.05112.37
5.4.230.0060.05912.36
5.4.220.0070.04512.37
5.4.210.0110.05312.37
5.4.200.0130.05112.36
5.4.190.0130.04812.36
5.4.180.0100.04712.36
5.4.170.0110.04512.38
5.4.160.0080.04712.37
5.4.150.0070.05012.36
5.4.140.0070.04112.05
5.4.130.0050.03812.04
5.4.120.0050.03912.00
5.4.110.0070.04211.99
5.4.100.0110.04311.99
5.4.90.0080.04811.99
5.4.80.0080.04811.99
5.4.70.0090.04711.98
5.4.60.0120.05411.99
5.4.50.0110.04611.98
5.4.40.0140.04811.98
5.4.30.0080.04811.97
5.4.20.0070.04711.97
5.4.10.0080.04811.96
5.4.00.0090.04311.46
5.3.280.0070.03812.71
5.3.270.0070.04012.72
5.3.260.0080.03812.72
5.3.250.0080.03712.72
5.3.240.0070.03812.72
5.3.230.0070.04312.71
5.3.220.0020.04212.68
5.3.210.0050.04012.68
5.3.200.0040.03812.68
5.3.190.0110.03412.68
5.3.180.0050.03912.68
5.3.170.0060.03712.67
5.3.160.0080.03512.67
5.3.150.0070.04112.67
5.3.140.0070.03612.66
5.3.130.0030.04212.66
5.3.120.0050.03912.66
5.3.110.0090.03612.66
5.3.100.0040.03912.12
5.3.90.0060.03712.09
5.3.80.0070.03512.08
5.3.70.0060.03612.07
5.3.60.0040.03712.07
5.3.50.0070.04812.00
5.3.40.0080.04312.00
5.3.30.0060.03811.95
5.3.20.0080.03611.73
5.3.10.0050.03711.69
5.3.00.0090.03411.68
5.2.170.0050.0319.17
5.2.160.0050.0299.18
5.2.150.0070.0289.18
5.2.140.0040.0329.17
5.2.130.0030.0329.14
5.2.120.0050.0299.14
5.2.110.0060.0289.14
5.2.100.0030.0319.14
5.2.90.0070.0279.14
5.2.80.0030.0329.13
5.2.70.0040.0319.13
5.2.60.0040.0319.08
5.2.50.0060.0299.05
5.2.40.0060.0289.03
5.2.30.0090.0349.00
5.2.20.0110.0358.99
5.2.10.0070.0368.91
5.2.00.0060.0398.77
5.1.60.0090.0348.05
5.1.50.0050.0358.05
5.1.40.0090.0428.03
5.1.30.0070.0348.38
5.1.20.0050.0428.41
5.1.10.0090.0358.13
5.1.00.0060.0298.13
5.0.50.0040.0216.60
5.0.40.0040.0226.46
5.0.30.0070.0406.28
5.0.20.0040.0256.25
5.0.10.0040.0326.22
5.0.00.0030.0446.21
4.4.90.0060.0204.78
4.4.80.0060.0194.75
4.4.70.0060.0184.76
4.4.60.0030.0214.75
4.4.50.0040.0204.77
4.4.40.0010.0354.70
4.4.30.0060.0184.76
4.4.20.0030.0224.85
4.4.10.0060.0194.85
4.4.00.0040.0324.76
4.3.110.0040.0214.67
4.3.100.0030.0164.66
4.3.90.0050.0144.63
4.3.80.0020.0264.59
4.3.70.0020.0164.63
4.3.60.0010.0174.63
4.3.50.0040.0144.63
4.3.40.0020.0284.54
4.3.30.0040.0163.28
4.3.20.0020.0213.26
4.3.10.0020.0163.23
4.3.00.0130.0307.14

preferences:
139.04 ms | 1394 KiB | 7 Q