3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace X; $f = function () {} $r = new \ReflectionMethod($f, '__invoke'); var_dump($r->isClosure());

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.0090.03712.52
5.4.310.0020.04312.52
5.4.300.0050.04212.52
5.4.290.0110.03612.51
5.4.280.0070.04412.41
5.4.270.0050.04512.41
5.4.260.0100.04112.41
5.4.250.0100.04412.41
5.4.240.0100.04412.41
5.4.230.0070.04612.40
5.4.220.0070.04812.40
5.4.210.0090.03812.40
5.4.200.0040.04612.40
5.4.190.0100.04812.39
5.4.180.0070.04012.40
5.4.170.0050.04012.41
5.4.160.0060.03612.39
5.4.150.0080.03512.40
5.4.140.0020.04012.09
5.4.130.0100.03912.07
5.4.120.0060.03712.04
5.4.110.0070.03512.03
5.4.100.0050.03812.03
5.4.90.0050.03912.03
5.4.80.0060.03712.03
5.4.70.0060.03812.02
5.4.60.0050.03612.02
5.4.50.0090.03812.03
5.4.40.0060.04012.01
5.4.30.0060.03812.01
5.4.20.0100.03712.01
5.4.10.0060.03812.02
5.4.00.0070.03811.50
5.3.290.0060.04312.80
5.3.280.0070.03912.71
5.3.270.0080.03912.72
5.3.260.0090.04112.72
5.3.250.0050.03912.72
5.3.240.0050.03912.71
5.3.230.0050.04112.71
5.3.220.0140.03612.68
5.3.210.0110.04912.68
5.3.200.0060.03812.68
5.3.190.0070.03912.68
5.3.180.0100.03312.68
5.3.170.0060.04112.67
5.3.160.0070.03912.68
5.3.150.0070.03912.67
5.3.140.0120.03112.66
5.3.130.0050.04012.66
5.3.120.0060.03812.66
5.3.110.0040.04012.66
5.3.100.0050.03812.13
5.3.90.0070.03512.11
5.3.80.0060.03612.09
5.3.70.0040.03912.09
5.3.60.0090.03412.08
5.3.50.0050.03912.02
5.3.40.0060.03712.02
5.3.30.0070.03911.98
5.3.20.0120.03011.76
5.3.10.0060.03611.73
5.3.00.0110.03111.71
5.2.170.0040.0409.18
5.2.160.0050.0419.18
5.2.150.0070.0379.18
5.2.140.0060.0319.18
5.2.130.0080.0329.14
5.2.120.0090.0349.14
5.2.110.0060.0399.15
5.2.100.0070.0329.14
5.2.90.0080.0359.14
5.2.80.0060.0429.14
5.2.70.0080.0409.14
5.2.60.0070.0389.09
5.2.50.0080.0389.06
5.2.40.0050.0309.03
5.2.30.0050.0369.01
5.2.20.0090.0289.00
5.2.10.0070.0378.92
5.2.00.0090.0338.78
5.1.60.0100.0238.06
5.1.50.0060.0298.06
5.1.40.0070.0318.05
5.1.30.0050.0298.40
5.1.20.0050.0338.42
5.1.10.0030.0308.14
5.1.00.0050.0278.14
5.0.50.0030.0236.62
5.0.40.0070.0256.48
5.0.30.0050.0336.29
5.0.20.0030.0216.26
5.0.10.0040.0276.24
5.0.00.0050.0316.23
4.4.90.0020.0184.78
4.4.80.0040.0154.76
4.4.70.0050.0194.75
4.4.60.0030.0214.75
4.4.50.0080.0184.77
4.4.40.0060.0294.71
4.4.30.0020.0174.75
4.4.20.0050.0234.84
4.4.10.0040.0204.85
4.4.00.0030.0284.76
4.3.110.0060.0164.66
4.3.100.0050.0164.66
4.3.90.0050.0174.63
4.3.80.0040.0314.59
4.3.70.0030.0184.63
4.3.60.0040.0144.63
4.3.50.0020.0224.63
4.3.40.0020.0324.53
4.3.30.0030.0223.28
4.3.20.0020.0213.26
4.3.10.0020.0213.21
4.3.00.0000.0177.88

preferences:
136.52 ms | 1394 KiB | 7 Q