3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fn = static function ($foo) {return $foo;}; //$r = new \ReflectionFunction($fn); $fn1 = @$fn->bindTo(new \stdClass); var_dump($fn1);

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.70.0030.01518.68
8.3.60.0110.00716.75
8.3.50.0130.00722.05
8.3.40.0140.00718.71
8.3.30.0140.00018.75
8.3.20.0100.00020.39
8.3.10.0040.00423.78
8.3.00.0040.00419.38
8.2.190.0170.00016.58
8.2.180.0120.00916.75
8.2.170.0050.01422.96
8.2.160.0100.01020.27
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0040.00817.75
8.2.120.0050.00226.35
8.2.110.0090.00021.11
8.2.100.0080.00418.04
8.2.90.0040.00419.20
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0030.00518.07
8.2.40.0070.00019.34
8.2.30.0070.00020.67
8.2.20.0000.00717.74
8.2.10.0000.00718.06
8.2.00.0020.00518.04
8.1.280.0120.00325.92
8.1.270.0080.00022.14
8.1.260.0080.00028.09
8.1.250.0030.01028.09
8.1.240.0060.00322.18
8.1.230.0000.01117.54
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0050.00317.10
8.1.180.0000.00718.10
8.1.170.0060.00320.37
8.1.160.0040.00421.97
8.1.150.0000.00818.80
8.1.140.0030.00519.45
8.1.130.0030.00317.65
8.1.120.0040.00317.45
8.1.110.0040.00417.34
8.1.100.0070.00017.36
8.1.90.0080.00017.50
8.1.80.0000.00717.35
8.1.70.0030.00317.34
8.1.60.0070.00317.56
8.1.50.0050.00317.48
8.1.40.0000.00717.53
8.1.30.0060.00317.51
8.1.20.0040.00417.66
8.1.10.0000.00817.55
8.1.00.0000.00717.54
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0040.00418.54
8.0.270.0040.00417.24
8.0.260.0000.00617.20
8.0.250.0040.00417.04
8.0.240.0000.00817.05
8.0.230.0000.00816.84
8.0.220.0070.00016.89
8.0.210.0040.00416.87
8.0.200.0040.00416.89
8.0.190.0000.00717.04
8.0.180.0000.00816.85
8.0.170.0040.00417.00
8.0.160.0030.00616.97
8.0.150.0000.00716.88
8.0.140.0030.00616.93
8.0.130.0060.00313.41
8.0.120.0000.00716.90
8.0.110.0050.00316.95
8.0.100.0080.00016.77
8.0.90.0000.00816.89
8.0.80.0100.00616.95
8.0.70.0000.00816.85
8.0.60.0000.00816.97
8.0.50.0070.00016.79
8.0.30.0130.00817.09
8.0.20.0110.00917.40
8.0.10.0040.00417.05
8.0.00.0070.01116.69
7.4.330.0050.00015.08
7.4.320.0030.00316.42
7.4.300.0050.00216.59
7.4.290.0000.00716.55
7.4.280.0000.00716.57
7.4.270.0050.00316.48
7.4.260.0030.00316.48
7.4.250.0040.00416.44
7.4.240.0030.00416.56
7.4.230.0030.00316.52
7.4.220.0040.01216.61
7.4.210.0070.00816.56
7.4.200.0030.00316.52
7.4.160.0110.00716.62
7.4.150.0090.00917.40
7.4.140.0140.00617.86
7.4.130.0060.01116.48
7.4.120.0090.00816.64
7.4.110.0100.01416.53
7.4.100.0120.00416.44
7.4.90.0150.00616.59
7.4.80.0110.01219.39
7.4.70.0070.01016.52
7.4.60.0040.01216.27
7.4.50.0080.00016.42
7.4.40.0100.00716.36
7.4.30.0130.01016.80
7.4.00.0090.00615.13
7.3.330.0030.00313.11
7.3.320.0000.00513.13
7.3.310.0000.00716.15
7.3.300.0040.00416.15
7.3.290.0000.00616.21
7.3.280.0120.00516.32
7.3.270.0170.00017.40
7.3.260.0180.00016.40
7.3.250.0060.01116.26
7.3.240.0070.01116.51
7.3.230.0130.00416.39
7.3.210.0080.00816.21
7.3.200.0120.00616.54
7.3.190.0160.00616.32
7.3.180.0030.01316.58
7.3.170.0060.01616.48
7.3.160.0120.00316.29
7.2.330.0060.01216.75
7.2.320.0070.01116.57
7.2.310.0090.00616.77
7.2.300.0060.01216.73
7.2.290.0130.00616.59
7.2.60.0030.00917.02
7.2.00.0030.01218.99
7.1.200.0000.01315.64
7.1.100.0040.00817.95
7.1.70.0040.00416.88
7.1.60.0150.00919.48
7.1.50.0060.01616.52
7.1.00.0070.07322.32
7.0.200.0420.00014.66
7.0.60.0130.06319.84
7.0.50.0030.04017.91
7.0.40.0100.07719.96
7.0.30.0270.03720.16
7.0.20.0270.07320.07
7.0.10.0070.09020.25
7.0.00.0070.09020.12
5.6.280.0000.07020.91
5.6.210.0170.04720.45
5.6.200.0030.09018.20
5.6.190.0230.07020.66
5.6.180.0300.07020.58
5.6.170.0100.05720.71
5.6.160.0200.06720.48
5.6.150.0170.03018.15
5.6.140.0030.04318.16
5.6.130.0030.08318.25
5.6.120.0100.08021.10
5.6.110.0170.07721.12
5.6.100.0000.07321.13
5.6.90.0100.05321.12
5.6.80.0170.06720.38
5.5.350.3530.05720.36
5.5.340.0100.07317.98
5.5.330.0030.09020.57
5.5.320.0070.05020.27
5.5.310.0330.08020.30
5.5.300.0030.04318.09
5.5.290.0100.08318.04
5.5.280.0100.07020.77
5.5.270.0100.08020.68
5.5.260.0100.08320.68
5.5.250.0100.06320.78
5.5.240.0300.07020.37

preferences:
51.27 ms | 401 KiB | 5 Q