3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fn = function() { echo('hello world!'); }; echo(gettype($fn)); $r = new ReflectionFunction(gettype($fn));

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.0090.00618.30
8.3.60.0070.00716.88
8.3.50.0130.00621.14
8.3.40.0150.00618.79
8.3.30.0110.00418.73
8.3.20.0020.00520.35
8.3.10.0040.00422.02
8.3.00.0040.00421.81
8.2.190.0100.00718.29
8.2.180.0110.00416.50
8.2.170.0090.00622.96
8.2.160.0070.01120.30
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.01120.86
8.2.120.0040.00426.35
8.2.110.0060.00322.26
8.2.100.0110.00017.91
8.2.90.0000.00819.15
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0080.00617.79
8.2.50.0040.00418.09
8.2.40.0000.00822.29
8.2.30.0080.00019.31
8.2.20.0040.00417.60
8.2.10.0000.00717.99
8.2.00.0070.00017.93
8.1.280.0090.00625.92
8.1.270.0030.00521.89
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0080.00420.99
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0030.00617.12
8.1.180.0030.00618.10
8.1.170.0030.00518.52
8.1.160.0040.00420.85
8.1.150.0000.00718.91
8.1.140.0080.00019.64
8.1.130.0040.00417.74
8.1.120.0040.00417.47
8.1.110.0000.00717.42
8.1.100.0000.00817.44
8.1.90.0070.00017.34
8.1.80.0030.00517.37
8.1.70.0000.00717.51
8.1.60.0040.00717.57
8.1.50.0040.00417.53
8.1.40.0040.00417.34
8.1.30.0060.00317.63
8.1.20.0040.00417.65
8.1.10.0030.00617.54
8.1.00.0040.00417.56
8.0.300.0060.00318.77
8.0.290.0080.00016.75
8.0.280.0070.00018.30
8.0.270.0000.00717.30
8.0.260.0030.00317.20
8.0.250.0030.00317.07
8.0.240.0000.00616.97
8.0.230.0060.00316.93
8.0.220.0070.00016.80
8.0.210.0030.00316.82
8.0.200.0060.00316.99
8.0.190.0030.00617.04
8.0.180.0000.00716.88
8.0.170.0030.00516.88
8.0.160.0070.00016.99
8.0.150.0080.00016.75
8.0.140.0000.00716.83
8.0.130.0030.00313.39
8.0.120.0040.00416.98
8.0.110.0000.00816.96
8.0.100.0070.00016.95
8.0.90.0030.00516.87
8.0.80.0170.00316.84
8.0.70.0000.00716.75
8.0.60.0000.00716.86
8.0.50.0040.00416.97
8.0.30.0120.00617.37
8.0.20.0120.01017.40
8.0.10.0040.00416.96
8.0.00.0070.01016.76
7.4.330.0000.00516.70
7.4.320.0030.00316.52
7.4.300.0040.00416.55
7.4.290.0000.00716.58
7.4.280.0030.00516.53
7.4.270.0000.00716.59
7.4.260.0040.00416.48
7.4.250.0070.00016.46
7.4.240.0000.00716.60
7.4.230.0000.00716.55
7.4.220.0140.01216.58
7.4.210.0170.00316.63
7.4.200.0000.00816.61
7.4.160.0100.00616.44
7.4.150.0210.00617.40
7.4.140.0130.01017.86
7.4.130.0100.00716.60
7.4.120.0100.00816.66
7.4.110.0090.00916.46
7.4.100.0130.00416.70
7.4.90.0130.00316.52
7.4.80.0110.01119.39
7.4.70.0200.00716.60
7.4.60.0060.01016.64
7.4.50.0130.00716.23
7.4.40.0030.01316.63
7.4.30.0060.01316.64
7.4.00.0040.01115.13
7.3.330.0000.00613.33
7.3.320.0000.00613.33
7.3.310.0030.00316.26
7.3.300.0040.00416.32
7.3.290.0090.00916.35
7.3.280.0080.00816.35
7.3.270.0140.00317.40
7.3.260.0130.00316.39
7.3.250.0080.01016.39
7.3.240.0090.00816.59
7.3.230.0040.01516.44
7.3.210.0110.00716.48
7.3.200.0100.01019.39
7.3.190.0090.01216.43
7.3.180.0110.00616.39
7.3.170.0040.01916.45
7.3.160.0040.01316.58
7.3.10.0100.00716.75
7.3.00.0000.01116.65
7.2.330.0100.01016.81
7.2.320.0110.01016.68
7.2.310.0180.00016.57
7.2.300.0130.00316.31
7.2.290.0070.01416.61
7.2.130.0070.00717.01
7.2.120.0040.00716.61
7.2.110.0060.00916.54
7.2.100.0000.01416.96
7.2.90.0030.00516.87
7.2.80.0060.00916.90
7.2.70.0060.01017.05
7.2.60.0040.00816.89
7.2.50.0100.00316.68
7.2.40.0060.01016.84
7.2.30.0080.00316.96
7.2.20.0070.00416.91
7.2.10.0060.00616.72
7.2.00.0060.00617.90
7.1.250.0030.00515.80
7.1.200.0060.00615.71
7.1.100.0030.00618.11
7.1.70.0030.00717.28
7.1.60.0140.01119.40
7.1.50.0150.00416.98
7.1.00.0030.07722.51
7.0.200.0380.00614.49
7.0.60.0270.07021.63
7.0.50.0130.07717.91
7.0.40.0070.08720.25
7.0.30.0400.03320.09
7.0.20.0300.08020.07
7.0.10.0070.08720.23
7.0.00.0130.07720.23
5.6.280.0030.05020.86
5.6.210.0170.07320.45
5.6.200.0200.05318.18
5.6.190.0070.03720.47
5.6.180.0230.03720.43
5.6.170.0270.07720.44
5.6.160.0030.09020.61
5.6.150.0030.04318.23
5.6.140.0030.04018.19
5.6.130.0170.07018.28
5.6.120.0070.07721.15
5.6.110.0030.08720.98
5.6.100.0070.03721.09
5.6.90.0100.08020.96
5.6.80.0370.03320.53
5.5.350.0130.07020.40
5.5.340.0100.08318.01
5.5.330.0000.04320.32
5.5.320.0600.07320.52
5.5.310.0270.07320.29
5.5.300.0000.04718.05
5.5.290.0070.04017.97
5.5.280.0100.05720.74
5.5.270.0070.08320.75
5.5.260.0000.08320.66
5.5.250.0070.04720.58
5.5.240.0270.04720.05

preferences:
53.21 ms | 401 KiB | 5 Q