3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closure = eval('return function ($__contextVariables__){unset($__contextVariables__);return function (){};};')->bindTo(new stdClass(), 'stdClass'); var_dump($closure());

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.0300.04319.09
5.4.300.0170.07019.22
5.4.290.0270.07018.85
5.4.280.0200.04019.09
5.4.270.0170.04719.24
5.4.260.0230.03318.87
5.4.250.0270.06719.21
5.4.240.0270.03718.83
5.4.230.0200.03719.07
5.4.220.0300.05719.07
5.4.210.0170.07019.09
5.4.200.0200.05319.14
5.4.190.0300.04719.07
5.4.180.0270.07019.30
5.4.170.0230.07318.94
5.4.160.0270.05719.13
5.4.150.0330.05318.98
5.4.140.0270.05716.40
5.4.130.0270.07016.33
5.4.120.0270.05016.53
5.4.110.0300.03016.56
5.4.100.0270.06716.40
5.4.90.0200.04716.41
5.4.80.0230.06716.41
5.4.70.0270.04716.44
5.4.60.0230.04716.36
5.4.50.0270.07016.54
5.4.40.0300.05716.38
5.4.30.0300.06016.32
5.4.20.0300.06316.51
5.4.10.0270.04716.52
5.4.00.0230.06715.98
5.3.280.0270.07314.55
5.3.270.0270.07014.54
5.3.260.0430.03314.57
5.3.250.0200.04314.62
5.3.240.0200.05014.55
5.3.230.0300.04314.44
5.3.220.0230.04314.47
5.3.210.0300.03714.42
5.3.200.0230.07314.41
5.3.190.0230.05014.44
5.3.180.0200.06714.66
5.3.170.0230.06014.52
5.3.160.0170.04314.66
5.3.150.0270.06714.52
5.3.140.0300.06714.46
5.3.130.0230.07314.38
5.3.120.0270.06714.38
5.3.110.0230.04714.51
5.3.100.0230.06713.88
5.3.90.0230.05014.01
5.3.80.0330.06013.92
5.3.70.0270.07013.96
5.3.60.0270.07013.84
5.3.50.0270.05313.74
5.3.40.0200.07713.80
5.3.30.0230.05713.86
5.3.20.0300.04313.49
5.3.10.0230.06713.57
5.3.00.0200.05713.59
5.2.170.0130.06312.22
5.2.160.0200.05312.22
5.2.150.0170.04712.22
5.2.140.0130.03012.22
5.2.130.0130.03012.22
5.2.120.0170.05312.22
5.2.110.0170.05012.22
5.2.100.0170.03712.22
5.2.90.0230.04012.22
5.2.80.0270.02312.22
5.2.70.0230.06012.22
5.2.60.0200.04312.22
5.2.50.0170.03312.22
5.2.40.0170.03312.22
5.2.30.0130.03712.22
5.2.20.0200.05712.22
5.2.10.0200.05012.22
5.2.00.0170.04012.22
5.1.60.0270.02012.22
5.1.50.0170.02012.22
5.1.40.0170.03712.22
5.1.30.0200.05312.22
5.1.20.0130.02712.22
5.1.10.0170.03312.22
5.1.00.0100.04012.22
5.0.50.0030.02712.22
5.0.40.0070.03312.22
5.0.30.0070.05312.22
5.0.20.0100.03712.22
5.0.10.0070.03712.22
5.0.00.0100.06312.22
4.4.90.0100.03312.22
4.4.80.0170.02712.22
4.4.70.0070.03712.22
4.4.60.0070.03012.22
4.4.50.0070.02712.22
4.4.40.0030.02712.22
4.4.30.0170.02712.22
4.4.20.0070.02712.22
4.4.10.0130.03312.22
4.4.00.0130.04712.22
4.3.110.0100.03712.22
4.3.100.0130.02712.22
4.3.90.0070.02712.22
4.3.80.0100.05312.22
4.3.70.0070.03312.22
4.3.60.0170.02712.22
4.3.50.0100.03312.22
4.3.40.0170.04312.22
4.3.30.0030.03312.22
4.3.20.0070.01712.22
4.3.10.0070.03012.22
4.3.00.0000.02312.22

preferences:
140.97 ms | 1394 KiB | 7 Q