3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public static function bar() { } public function getClosure() { return static function() {}; } } $foo = new foo; $closure = $foo->getClosure(); $reflection = new ReflectionFunction($closure); var_dump($reflection->getClosureThis());

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)
8.3.60.0060.00918.43
8.3.50.0100.00821.93
8.3.40.0000.01418.63
8.3.30.0100.00318.88
8.3.20.0070.00720.34
8.3.10.0000.00721.89
8.3.00.0040.00419.43
8.2.180.0070.01416.50
8.2.170.0110.00418.96
8.2.160.0000.01422.96
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.01226.16
8.2.120.0000.00820.70
8.2.110.0000.00919.21
8.2.100.0110.00017.90
8.2.90.0060.00319.30
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0060.00317.93
8.2.50.0030.00618.07
8.2.40.0040.00418.28
8.2.30.0080.00018.18
8.2.20.0050.00317.66
8.2.10.0070.00018.07
8.2.00.0070.00317.56
8.1.280.0070.00725.92
8.1.270.0080.00022.24
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00022.20
8.1.230.0080.00318.96
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0060.00317.36
8.1.190.0030.00617.23
8.1.180.0040.00420.54
8.1.170.0040.00418.61
8.1.160.0000.00722.09
8.1.150.0000.00818.77
8.1.140.0070.00017.44
8.1.130.0030.00317.83
8.1.120.0000.00817.37
8.1.110.0050.00317.46
8.1.100.0070.00017.33
8.1.90.0080.00017.46
8.1.80.0040.00417.37
8.1.70.0000.00717.31
8.1.60.0030.00617.64
8.1.50.0080.00017.43
8.1.40.0050.00317.37
8.1.30.0040.00417.57
8.1.20.0070.00017.56
8.1.10.0030.00617.50
8.1.00.0000.00717.41
8.0.300.0030.00520.06
8.0.290.0030.00716.58
8.0.280.0030.00518.26
8.0.270.0000.00717.20
8.0.260.0000.00617.25
8.0.250.0000.00716.92
8.0.240.0000.00716.85
8.0.230.0060.00316.84
8.0.220.0000.00716.82
8.0.210.0030.00716.86
8.0.200.0000.00816.82
8.0.190.0040.00416.89
8.0.180.0040.00416.82
8.0.170.0040.00416.90
8.0.160.0030.00316.84
8.0.150.0040.00416.84
8.0.140.0040.00416.88
8.0.130.0000.00513.30
8.0.120.0050.00316.86
8.0.110.0000.00816.89
8.0.100.0070.00016.75
8.0.90.0000.00716.89
8.0.80.0100.00616.85
8.0.70.0000.00716.68
8.0.60.0000.00816.76
8.0.50.0030.00516.84
8.0.30.0190.00317.09
8.0.20.0060.01317.40
8.0.10.0030.00516.90
8.0.00.0100.01016.70
7.4.330.0000.00515.07
7.4.320.0000.00616.50
7.4.300.0060.00016.40
7.4.290.0030.00316.59
7.4.280.0040.00416.59
7.4.270.0060.00316.60
7.4.260.0100.00016.60
7.4.250.0070.00016.44
7.4.240.0050.00216.58
7.4.230.0050.00216.50
7.4.220.0070.01716.55
7.4.210.0040.01116.53
7.4.200.0050.00316.68
7.4.160.0040.01216.40
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0130.00516.34
7.4.120.0080.01016.47
7.4.110.0160.00616.60
7.4.100.0070.01416.54
7.4.90.0170.00016.27
7.4.80.0070.01019.39
7.4.70.0070.01016.69
7.4.60.0060.01016.46
7.4.50.0000.00716.52
7.4.40.0000.01616.43
7.4.30.0090.00616.54
7.4.00.0040.01114.88
7.3.330.0030.00313.09
7.3.320.0000.00613.41
7.3.310.0040.00416.28
7.3.300.0050.00316.31
7.3.290.0060.00816.31
7.3.280.0130.00616.26
7.3.270.0030.01617.40
7.3.260.0070.01016.37
7.3.250.0120.00816.46
7.3.240.0130.00316.21
7.3.230.0030.01416.39
7.3.210.0090.00916.59
7.3.200.0110.00619.39
7.3.190.0140.00316.42
7.3.180.0090.00616.46
7.3.170.0080.00816.27
7.3.160.0030.01316.29
7.3.10.0090.00616.53
7.3.00.0040.01216.51
7.2.330.0070.01016.56
7.2.320.0030.01616.24
7.2.310.0070.01616.66
7.2.300.0060.01216.48
7.2.290.0060.01616.71
7.2.130.0040.00816.77
7.2.120.0050.00916.82
7.2.110.0080.00616.76
7.2.100.0060.00616.84
7.2.90.0030.01116.81
7.2.80.0080.00716.85
7.2.70.0110.00516.83
7.2.60.0050.00716.81
7.2.50.0020.00916.68
7.2.40.0050.00716.95
7.2.30.0060.00816.74
7.2.20.0100.00316.86
7.2.10.0060.00616.72
7.2.00.0030.00917.77
7.1.250.0020.01215.80
7.1.240.0080.00415.51
7.1.230.0060.00615.56
7.1.220.0070.00415.77
7.1.210.0090.00915.40
7.1.200.0100.00515.67
7.1.190.0040.00715.79
7.1.180.0090.00615.88
7.1.170.0000.00715.86
7.1.160.0030.00915.71
7.1.150.0060.00315.71
7.1.140.0060.00615.88
7.1.130.0080.00415.82
7.1.120.0060.00615.91
7.1.110.0040.01115.55
7.1.100.0060.00616.83
7.1.90.0090.00315.68
7.1.80.0060.00915.57
7.1.70.0060.00416.32
7.1.60.0030.00816.39
7.1.50.0040.00816.15
7.1.40.0070.00715.84
7.1.30.0030.00715.83
7.1.20.0030.01015.36
7.1.10.0030.00715.71
7.1.00.0030.04519.08
7.0.330.0030.01015.56
7.0.320.0000.01215.45
7.0.310.0030.01015.23
7.0.300.0030.00915.30
7.0.290.0030.00715.31
7.0.280.0030.00715.27
7.0.270.0000.01315.40
7.0.260.0040.00815.37
7.0.250.0070.00715.47
7.0.240.0030.01015.57
7.0.230.0040.00415.45
7.0.220.0060.00615.35
7.0.210.0040.00415.44
7.0.200.0050.01115.83
7.0.190.0000.00815.39
7.0.180.0070.00715.42
7.0.170.0070.00715.18
7.0.160.0170.00015.43
7.0.150.0100.00015.44
7.0.140.0030.02118.70
7.0.130.0040.00715.23
7.0.120.0000.01315.18
7.0.110.0100.00315.46
7.0.100.0060.00315.41
7.0.90.0060.00615.26
7.0.80.0030.01015.38
7.0.70.0060.00615.37
7.0.60.0050.02217.68
7.0.50.0070.04116.73
7.0.40.0080.04516.89
7.0.30.0250.02616.91
7.0.20.0070.03216.91
7.0.10.0020.03016.71
7.0.00.0020.04216.64
5.6.380.0070.00414.51
5.6.370.0040.00714.34
5.6.360.0000.01014.27
5.6.350.0040.00714.16
5.6.340.0070.00314.21
5.6.330.0030.01014.52
5.6.320.0030.00713.99
5.6.310.0060.00614.38
5.6.300.0070.00714.53
5.6.290.0030.00913.99
5.6.280.0060.03417.45
5.6.270.0100.00314.42
5.6.260.0030.01014.17
5.6.250.0000.01714.42
5.6.240.0000.00814.22
5.6.230.0000.00814.32
5.6.220.0000.01314.41
5.6.210.0060.04017.41
5.6.200.0140.03716.38
5.6.190.0030.03917.47
5.6.180.0190.02517.47
5.6.170.0130.04817.59
5.6.160.0050.04817.33
5.6.150.0100.04216.19
5.6.140.0060.02516.29
5.6.130.0120.04216.27
5.6.120.0080.04517.59
5.6.110.0100.03817.58
5.6.100.0110.03417.63
5.6.90.0030.03717.61
5.6.80.0070.03317.35
5.6.70.0030.01014.40
5.6.60.0040.01114.25
5.6.50.0110.00414.24
5.6.40.0000.01014.38
5.6.30.0120.00014.27
5.6.20.0030.01314.16
5.6.10.0070.00414.33
5.6.00.0040.00714.19
5.5.380.0040.00411.18
5.5.370.0000.01011.18
5.5.360.0040.00411.18
5.5.350.0120.03115.80
5.5.340.0020.03214.55
5.5.330.0090.04215.76
5.5.320.0200.02615.72
5.5.310.0230.03015.68
5.5.300.0060.03514.64
5.5.290.0060.04514.57
5.5.280.0020.02516.16
5.5.270.0120.02815.90
5.5.260.0100.04315.99
5.5.250.0050.02415.95
5.5.240.0040.04015.68
5.5.230.0100.00011.22
5.5.220.0040.00811.18
5.5.210.0040.00411.18
5.5.200.0030.00311.18
5.5.190.0000.00811.18
5.5.180.0030.00611.18
5.5.170.0060.00311.18
5.5.160.0030.00611.18
5.5.150.0030.00611.18
5.5.140.0030.00811.20
5.5.130.0090.00311.18
5.5.120.0000.01111.18
5.5.110.0000.00711.20
5.5.100.0060.00611.18
5.5.90.0040.00711.30
5.5.80.0040.00711.26
5.5.70.0060.00611.24
5.5.60.0060.00611.19
5.5.50.0000.00611.18
5.5.40.0030.00611.18
5.5.30.0080.00311.23
5.5.20.0030.00311.18
5.5.10.0070.00311.25
5.5.00.0000.01111.18
5.4.450.0180.03015.26
5.4.440.0420.03315.26
5.4.430.0100.03015.35
5.4.420.0050.03215.28
5.4.410.0130.02115.26
5.4.400.0030.03515.17
5.4.390.0070.03115.14
5.4.380.0130.02714.83
5.4.370.0470.03214.97
5.4.360.0500.03014.96
5.4.350.0070.02212.46
5.4.340.0060.02312.44
5.4.330.0070.00311.18
5.4.320.0050.02212.75
5.4.310.0150.01312.70
5.4.300.0080.02212.80
5.4.290.0070.02412.79
5.4.280.0020.02212.61
5.4.270.0070.02012.64
5.4.260.0060.02412.70
5.4.250.0050.02312.62
5.4.240.0070.01812.66
5.4.230.0100.01512.65
5.4.220.0070.02012.61
5.4.210.0020.03012.67
5.4.200.0020.02712.69
5.4.190.0070.02012.77
5.4.180.0080.02112.66
5.4.170.0080.02112.67
5.4.160.0120.01512.62
5.4.150.0050.02412.69
5.4.140.0100.01712.54
5.4.130.0050.02512.49
5.4.120.0050.02212.47
5.4.110.0020.02712.47
5.4.100.0050.02312.42
5.4.90.0060.02012.42
5.4.80.0080.02212.46
5.4.70.0080.02112.46
5.4.60.0080.01812.45
5.4.50.0050.02012.48
5.4.40.0100.02012.42
5.4.30.0090.02312.46
5.4.20.0090.01812.56
5.4.10.0070.02512.50
5.4.00.0070.02212.21
5.3.290.0000.03012.99
5.3.280.0060.02112.83
5.3.270.0110.01812.85
5.3.260.0090.01812.96
5.3.250.0050.02412.92
5.3.240.0080.02512.96
5.3.230.0020.02512.88
5.3.220.0050.02012.90
5.3.210.0050.02412.84
5.3.200.0020.02512.89
5.3.190.0060.01912.90
5.3.180.0100.01712.94
5.3.170.0090.01712.85
5.3.160.0030.02212.83
5.3.150.0050.02012.81
5.3.140.0080.01812.82
5.3.130.0070.02912.80
5.3.120.0060.02412.87
5.3.110.0040.02512.85
5.3.100.0060.02112.60
5.3.90.0060.02012.56
5.3.80.0050.02812.63
5.3.70.0030.02212.61
5.3.60.0070.02012.54
5.3.50.0020.02312.62
5.3.40.0050.02312.63
5.3.30.0030.02112.58
5.3.20.0050.02312.42
5.3.10.0020.02412.44
5.3.00.0050.02012.37
5.2.170.0000.02211.13
5.2.160.0000.02511.22
5.2.150.0040.02111.22
5.2.140.0050.02511.22
5.2.130.0090.01211.21
5.2.120.0050.01611.17
5.2.110.0030.01711.09
5.2.100.0060.01611.08
5.2.90.0030.01911.11
5.2.80.0030.01811.11
5.2.70.0050.02011.20
5.2.60.0060.01811.10
5.2.50.0020.02011.07
5.2.40.0040.01711.04
5.2.30.0070.01711.11
5.2.20.0040.02011.04
5.2.10.0090.01311.09
5.2.00.0030.01810.96
5.1.60.0000.01610.54
5.1.50.0080.01210.54
5.1.40.0000.02310.57
5.1.30.0040.01910.78
5.1.20.0010.01910.75
5.1.10.0070.01310.56
5.1.00.0060.01210.58
5.0.50.0050.0109.93
5.0.40.0040.0109.78
5.0.30.0040.0159.70
5.0.20.0040.0109.64
5.0.10.0020.0149.74
5.0.00.0020.0189.62
4.4.90.0020.0148.56
4.4.80.0000.0138.49
4.4.70.0030.0088.50
4.4.60.0030.0088.49
4.4.50.0020.0138.54
4.4.40.0020.0158.49
4.4.30.0000.0148.54
4.4.20.0000.0148.54
4.4.10.0030.0138.54
4.4.00.0020.0158.55
4.3.110.0000.0128.47
4.3.100.0050.0108.47
4.3.90.0020.0128.49
4.3.80.0060.0148.47
4.3.70.0020.0098.51
4.3.60.0030.0118.48
4.3.50.0000.0138.47
4.3.40.0030.0138.47
4.3.30.0060.0087.84
4.3.20.0030.0087.84
4.3.10.0030.0117.83
4.3.00.0030.0128.94

preferences:
41.41 ms | 401 KiB | 5 Q