3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Ololo\Pyshpysh\Really; function test_namespaced_function() { } foreach (get_defined_functions() as $type => $definedFunctionNames) { foreach ($definedFunctionNames as $definedFunctionName) { if (false !== $namespaceSeparatorIndex = strrpos($definedFunctionName, '\\')) { $definedFunctionNameBasename = substr($definedFunctionName, $namespaceSeparatorIndex + 1); } else { $definedFunctionNameBasename = $definedFunctionName; } if ($definedFunctionNameBasename === "test_namespaced_function") { print('\\'.$definedFunctionName."\n"); } } }

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.0120.00316.75
8.3.50.0160.00422.88
8.3.40.0040.01118.80
8.3.30.0070.00719.08
8.3.20.0000.01120.30
8.3.10.0080.00020.36
8.3.00.0090.00619.20
8.2.180.0070.00718.29
8.2.170.0090.00622.96
8.2.160.0070.00720.32
8.2.150.0110.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.07
8.2.110.0100.00620.52
8.2.100.0080.00417.72
8.2.90.0000.00819.22
8.2.80.0060.00317.97
8.2.70.0030.00617.61
8.2.60.0000.00717.93
8.2.50.0000.01018.07
8.2.40.0090.00018.09
8.2.30.0040.00419.53
8.2.20.0040.00417.64
8.2.10.0040.00418.09
8.2.00.0030.00517.64
8.1.280.0140.00725.92
8.1.270.0040.00423.63
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00622.08
8.1.230.0040.00824.02
8.1.220.0040.00417.74
8.1.210.0050.00518.77
8.1.200.0060.00417.38
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.51
8.1.160.0000.00722.10
8.1.150.0070.00019.01
8.1.140.0050.00217.51
8.1.130.0000.00717.88
8.1.120.0040.00417.54
8.1.110.0000.00817.48
8.1.100.0040.00417.52
8.1.90.0070.00317.53
8.1.80.0000.00817.44
8.1.70.0000.00717.50
8.1.60.0100.00317.62
8.1.50.0030.00617.63
8.1.40.0080.00017.45
8.1.30.0050.00317.62
8.1.20.0030.00617.53
8.1.10.0000.00817.45
8.1.00.0030.00617.50
8.0.300.0040.00418.77
8.0.290.0080.00016.88
8.0.280.0030.00718.42
8.0.270.0060.00317.30
8.0.260.0030.00317.27
8.0.250.0070.00017.00
8.0.240.0000.00817.03
8.0.230.0000.00716.97
8.0.220.0000.00716.93
8.0.210.0030.00316.96
8.0.200.0040.00416.92
8.0.190.0000.00717.02
8.0.180.0040.00416.96
8.0.170.0000.00816.97
8.0.160.0040.00316.89
8.0.150.0070.00016.83
8.0.140.0090.00016.79
8.0.130.0050.00013.33
8.0.120.0040.00416.81
8.0.110.0040.00416.85
8.0.100.0040.00416.83
8.0.90.0000.00716.81
8.0.80.0160.00016.94
8.0.70.0000.00816.89
8.0.60.0040.00417.05
8.0.50.0040.00416.77
8.0.30.0100.01017.21
8.0.20.0150.00617.40
8.0.10.0040.00417.00
8.0.00.0090.01216.90
7.4.330.0050.00015.12
7.4.320.0050.00216.66
7.4.300.0000.00616.64
7.4.290.0030.00316.55
7.4.280.0000.00716.55
7.4.270.0000.00716.52
7.4.260.0080.00016.61
7.4.250.0070.00016.52
7.4.240.0050.00216.57
7.4.230.0000.00816.44
7.4.220.0060.01316.61
7.4.210.0110.00416.63
7.4.200.0000.00716.55
7.4.150.0090.01217.40
7.4.140.0090.00917.86
7.4.130.0020.01416.49
7.4.120.0100.00716.48
7.4.110.0030.01616.39
7.4.100.0090.00916.44
7.4.90.0140.00316.59
7.4.80.0040.01419.39
7.4.70.0120.00616.52
7.4.60.0090.00916.45
7.4.50.0050.00316.27
7.4.40.0070.01416.47
7.4.30.0070.01016.50
7.4.00.0100.00714.89
7.3.330.0030.00313.50
7.3.320.0070.00013.23
7.3.310.0030.00616.43
7.3.300.0030.00316.29
7.3.290.0160.00316.45
7.3.280.0080.01116.43
7.3.270.0040.01517.40
7.3.260.0090.01616.28
7.3.250.0120.01016.42
7.3.240.0040.01216.48
7.3.230.0030.01516.58
7.3.210.0110.00716.45
7.3.200.0080.00819.39
7.3.190.0100.00616.47
7.3.180.0030.01416.50
7.3.170.0070.01016.43
7.3.160.0070.01016.59
7.2.330.0130.01016.69
7.2.320.0070.01016.88
7.2.310.0090.00916.89
7.2.300.0090.01316.64
7.2.290.0070.01116.69
7.2.00.0040.00719.38
7.1.70.0000.00717.09
7.1.60.0030.02119.61
7.1.50.0150.01217.09
7.1.00.0070.07322.44
7.0.200.0040.00416.63
7.0.140.0030.07322.18
7.0.60.0130.07719.94
7.0.50.0030.06017.89
7.0.40.0030.06320.11
7.0.30.0470.05320.09
7.0.20.0300.06020.12
7.0.10.0070.09020.19
7.0.00.0070.08320.05
5.6.280.0070.07321.28
5.6.210.0100.06720.84
5.6.200.0070.08718.51
5.6.190.0030.09020.75
5.6.180.0430.06320.69
5.6.170.0230.08020.71
5.6.160.0100.05320.61
5.6.150.0070.07018.44
5.6.140.0170.05718.43
5.6.130.0130.04318.39
5.6.120.0230.06021.19
5.6.110.0030.04021.40
5.6.100.0100.08721.29
5.6.90.0170.07321.25
5.6.80.0100.06320.80
5.5.350.0230.07320.61
5.5.340.0200.07318.21
5.5.330.0070.04020.48
5.5.320.0270.03720.43
5.5.310.0170.04020.41
5.5.300.0030.05018.23
5.5.290.0030.06318.24
5.5.280.0100.07721.16
5.5.270.0130.06321.15
5.5.260.0000.09321.05
5.5.250.0030.04720.87
5.5.240.0100.03720.53
5.4.450.0300.05319.86
5.4.440.0200.05019.67
5.4.430.0170.05019.53
5.4.420.0200.05319.63
5.4.410.0330.03719.54
5.4.400.0530.03019.22
5.4.390.0300.03719.54
5.4.380.0230.06019.03
5.4.370.0270.07719.03
5.4.360.0230.05318.89
5.4.350.0330.07019.07
5.4.340.0230.06019.09
5.4.320.0060.03712.80
5.4.310.0070.03812.80
5.4.300.0080.03512.80
5.4.290.0040.04012.80
5.4.280.0050.03712.70
5.4.270.0030.04012.70
5.4.260.0060.03812.69
5.4.250.0080.03712.69
5.4.240.0090.04212.70
5.4.230.0100.03912.69
5.4.220.0040.04912.69
5.4.210.0080.03612.68
5.4.200.0070.03912.69
5.4.190.0120.03912.68
5.4.180.0070.04212.68
5.4.170.0060.03612.69
5.4.160.0050.03612.68
5.4.150.0080.03412.68
5.4.140.0080.04312.37
5.4.130.0090.04212.36
5.4.120.0070.04112.31
5.4.110.0050.03712.31
5.4.100.0040.04212.31
5.4.90.0100.03812.31
5.4.80.0040.04212.31
5.4.70.0070.04112.30
5.4.60.0150.03712.30
5.4.50.0040.03712.30
5.4.40.0060.03612.29
5.4.30.0070.04012.29
5.4.20.0110.03312.29
5.4.10.0070.03812.29
5.4.00.0040.03811.78
5.3.290.0100.03613.04
5.3.280.0040.04012.98
5.3.270.0070.03912.98
5.3.260.0050.04312.98
5.3.250.0060.04112.99
5.3.240.0090.04212.98
5.3.230.0050.04012.98
5.3.220.0090.03912.95
5.3.210.0050.04312.94
5.3.200.0080.03612.95
5.3.190.0050.03912.94
5.3.180.0080.03712.95
5.3.170.0060.03912.94
5.3.160.0040.04612.94
5.3.150.0060.03912.95
5.3.140.0060.04312.94
5.3.130.0090.04012.93
5.3.120.0090.03812.93
5.3.110.0090.04212.93
5.3.100.0070.03912.42
5.3.90.0090.03412.40
5.3.80.0080.03812.38
5.3.70.0080.04212.39
5.3.60.0070.03612.37
5.3.50.0070.03712.32
5.3.40.0070.04012.32
5.3.30.0090.04312.28
5.3.20.0040.03712.06
5.3.10.0070.03912.03
5.3.00.0060.03612.01
5.2.170.0080.0289.18
5.2.160.0050.0299.18
5.2.150.0040.0389.18
5.2.140.0070.0309.18
5.2.130.0060.0289.14
5.2.120.0050.0309.14
5.2.110.0060.0289.15
5.2.100.0090.0299.14
5.2.90.0080.0269.14
5.2.80.0050.0309.14
5.2.70.0050.0309.14
5.2.60.0070.0289.09
5.2.50.0020.0339.06
5.2.40.0030.0309.03
5.2.30.0070.0279.01
5.2.20.0020.0329.00
5.2.10.0050.0278.93
5.2.00.0060.0278.79
5.1.60.0030.0248.07
5.1.50.0020.0308.06
5.1.40.0060.0238.05
5.1.30.0040.0348.40
5.1.20.0060.0298.42
5.1.10.0080.0258.14
5.1.00.0080.0268.14
5.0.50.0020.0206.62
5.0.40.0030.0276.48
5.0.30.0020.0346.29
5.0.20.0020.0276.27
5.0.10.0020.0266.24
5.0.00.0050.0286.24
4.4.90.0030.0204.78
4.4.80.0020.0194.75
4.4.70.0030.0154.76
4.4.60.0040.0164.76
4.4.50.0040.0204.77
4.4.40.0030.0284.71
4.4.30.0060.0174.75
4.4.20.0030.0244.84
4.4.10.0040.0204.85
4.4.00.0030.0354.76
4.3.110.0010.0174.66
4.3.100.0040.0164.67
4.3.90.0030.0174.63
4.3.80.0030.0284.58
4.3.70.0040.0144.63
4.3.60.0020.0154.63
4.3.50.0040.0134.63
4.3.40.0020.0244.53
4.3.30.0020.0163.29
4.3.20.0030.0153.26
4.3.10.0020.0153.22
4.3.00.0030.02018.16

preferences:
39.34 ms | 401 KiB | 5 Q