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);

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.0150.00418.30
8.3.60.0140.01116.63
8.3.50.0130.00922.11
8.3.40.0070.00718.52
8.3.30.0030.01018.72
8.3.20.0140.00020.39
8.3.10.0040.00423.61
8.3.00.0090.00019.25
8.2.190.0120.00316.84
8.2.180.0100.01316.38
8.2.170.0030.01022.96
8.2.160.0090.00620.33
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.01117.62
8.2.120.0000.00826.35
8.2.110.0090.00020.39
8.2.100.0060.00617.93
8.2.90.0040.00419.12
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0030.00619.34
8.2.30.0030.00320.65
8.2.20.0040.00417.67
8.2.10.0000.00818.11
8.2.00.0040.00418.19
8.1.280.0120.00625.92
8.1.270.0080.00022.06
8.1.260.0120.00328.09
8.1.250.0080.00528.09
8.1.240.0000.00922.55
8.1.230.0040.00817.66
8.1.220.0030.00617.76
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00617.34
8.1.180.0030.00518.10
8.1.170.0060.00318.53
8.1.160.0040.00422.09
8.1.150.0000.00818.84
8.1.140.0050.00319.62
8.1.130.0070.00017.76
8.1.120.0040.00417.36
8.1.110.0040.00417.51
8.1.100.0040.00417.46
8.1.90.0070.00017.36
8.1.80.0000.00717.41
8.1.70.0030.00317.46
8.1.60.0100.00317.49
8.1.50.0050.00317.42
8.1.40.0030.00517.57
8.1.30.0040.00417.59
8.1.20.0000.00717.70
8.1.10.0040.00417.49
8.1.00.0000.00917.31
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0050.00218.43
8.0.270.0070.00017.13
8.0.260.0040.00417.13
8.0.250.0070.00016.88
8.0.240.0030.00616.90
8.0.230.0030.00616.92
8.0.220.0030.00316.89
8.0.210.0000.01016.88
8.0.200.0040.00416.98
8.0.190.0030.00516.85
8.0.180.0040.00417.02
8.0.170.0040.00416.89
8.0.160.0060.00316.96
8.0.150.0000.00716.90
8.0.140.0080.00316.89
8.0.130.0040.00413.45
8.0.120.0000.00816.95
8.0.110.0030.00516.91
8.0.100.0040.00416.89
8.0.90.0000.00716.77
8.0.80.0060.00917.01
8.0.70.0040.00416.95
8.0.60.0030.00617.02
8.0.50.0030.00517.00
8.0.30.0090.01117.09
8.0.20.0160.00217.40
8.0.10.0080.00016.95
8.0.00.0140.00616.86
7.4.330.0000.00515.12
7.4.320.0030.00316.46
7.4.300.0000.00616.52
7.4.290.0030.00316.59
7.4.280.0040.00416.50
7.4.270.0000.00816.61
7.4.260.0040.00416.58
7.4.250.0030.00516.47
7.4.240.0040.00316.59
7.4.230.0030.00316.70
7.4.220.0100.00716.68
7.4.210.0060.00916.53
7.4.200.0040.00416.62
7.4.160.0120.00316.55
7.4.150.0120.00617.40
7.4.140.0100.00817.86
7.4.130.0190.00516.38
7.4.120.0070.01016.54
7.4.110.0100.00716.65
7.4.100.0070.01016.53
7.4.90.0060.01216.34
7.4.80.0100.00719.39
7.4.70.0060.00916.69
7.4.60.0070.01116.51
7.4.50.0030.00316.40
7.4.40.0090.00916.38
7.4.30.0060.01516.46
7.4.00.0030.01514.84
7.3.330.0000.00713.33
7.3.320.0030.00313.09
7.3.310.0000.00716.37
7.3.300.0070.00016.24
7.3.290.0050.00216.18
7.3.280.0130.00716.28
7.3.270.0160.00317.40
7.3.260.0130.00416.42
7.3.240.0080.01216.33
7.3.230.0070.01016.39
7.3.210.0130.00316.32
7.3.200.0060.00916.37
7.3.190.0070.01016.36
7.3.180.0150.00316.42
7.3.170.0080.01316.32
7.3.160.0120.00316.30
7.2.330.0070.01116.71
7.2.320.0070.01116.68
7.2.310.0060.01616.48
7.2.300.0100.00716.68
7.2.290.0100.01116.37
7.2.60.0030.01316.49
7.2.50.0030.00916.64
7.1.200.0090.00615.64
7.1.70.0000.00717.09
7.1.60.0200.00319.48
7.1.50.0090.01516.73
7.1.00.0070.07322.33
7.0.200.0240.00614.45
7.0.60.0100.08019.83
7.0.50.0000.04317.83
7.0.40.0070.08320.09
7.0.30.0330.07020.17
7.0.20.0270.05320.09
7.0.10.0100.09020.19
7.0.00.0030.09320.20
5.6.280.0030.03320.86
5.6.210.0100.07720.54
5.6.200.0130.07318.19
5.6.190.0130.05320.60
5.6.180.0300.06720.55
5.6.170.0130.04720.57
5.6.160.0070.07020.57
5.6.150.0070.07318.18
5.6.140.0030.05718.10
5.6.130.0030.06018.21
5.6.120.0070.08321.15
5.6.110.0170.07721.00
5.6.100.0100.07720.98
5.6.90.0100.08721.10
5.6.80.0070.07720.38
5.5.350.1870.03720.41
5.5.340.0100.08317.95
5.5.330.0030.04020.32
5.5.320.0270.03320.25
5.5.310.0330.07020.34
5.5.300.0030.06717.99
5.5.290.0100.05317.94
5.5.280.0030.06720.90
5.5.270.0070.06320.95
5.5.260.0100.06320.76
5.5.250.0170.07720.57
5.5.240.0270.06020.26

preferences:
24.61 ms | 401 KiB | 5 Q