3v4l.org

run code in 300+ PHP versions simultaneously
<?php $BaseID = '1234567890'; $BaseIDHex = dechex($BaseID); $BaseIDHex = strtoupper(strrev($BaseIDHex)); $BaseIDHex = chunk_split($BaseIDHex, 2, ' '); echo $BaseIDHex;

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.4.10.0030.00617.80
8.3.140.0150.00016.82
8.3.130.0040.00417.97
8.3.120.0090.00018.67
8.3.110.0050.00316.69
8.3.100.0000.00818.59
8.3.90.0070.00026.77
8.3.80.0060.00318.18
8.3.70.0040.01416.38
8.3.60.0100.00718.18
8.3.50.0130.00821.98
8.3.40.0100.00618.71
8.3.30.0040.01119.11
8.3.20.0080.00020.21
8.3.10.0040.00421.92
8.3.00.0030.00522.30
8.2.260.0090.00616.50
8.2.250.0000.00816.59
8.2.240.0050.00518.78
8.2.230.0060.01020.94
8.2.220.0000.00837.54
8.2.210.0070.01126.77
8.2.200.0060.00316.50
8.2.190.0090.00916.58
8.2.180.0060.01516.38
8.2.170.0110.00322.96
8.2.160.0060.00921.02
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00417.63
8.2.110.0060.00322.25
8.2.100.0100.00317.78
8.2.90.0000.00819.26
8.2.80.0080.00017.97
8.2.70.0040.00417.75
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0030.00317.93
8.2.20.0060.00317.70
8.2.10.0060.00319.64
8.2.00.0030.00517.61
8.1.310.0150.00016.00
8.1.300.0090.00018.21
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0000.00723.82
8.1.260.0080.00026.35
8.1.250.0140.00328.09
8.1.240.0080.00023.77
8.1.230.0080.00419.09
8.1.220.0080.00017.77
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0040.00417.42
8.1.180.0000.01118.10
8.1.170.0040.00418.50
8.1.160.0030.00622.00
8.1.150.0050.00218.53
8.1.140.0040.00417.45
8.1.130.0080.00017.76
8.1.120.0000.00817.46
8.1.110.0000.00717.26
8.1.100.0030.00317.27
8.1.90.0040.00417.34
8.1.80.0040.00417.37
8.1.70.0070.00017.42
8.1.60.0030.00617.42
8.1.50.0040.00417.50
8.1.40.0070.00017.32
8.1.30.0030.01017.55
8.1.20.0040.00417.47
8.1.10.0070.00017.38
8.1.00.0030.00517.44
8.0.300.0040.00418.77
8.0.290.0070.00016.91
8.0.280.0050.00318.32
8.0.270.0070.00017.20
8.0.260.0000.00716.80
8.0.250.0000.00716.99
8.0.240.0070.00016.98
8.0.230.0040.00416.88
8.0.220.0000.00716.82
8.0.210.0030.00316.70
8.0.200.0040.00416.93
8.0.190.0050.00216.89
8.0.180.0070.00016.84
8.0.170.0000.00916.82
8.0.160.0040.00416.71
8.0.150.0030.00316.79
8.0.140.0040.00416.75
8.0.130.0030.00313.23
8.0.120.0040.00416.80
8.0.110.0000.00716.68
8.0.100.0070.00016.87
8.0.90.0040.00416.77
8.0.80.0090.01016.81
8.0.70.0040.00416.69
8.0.60.0070.00016.94
8.0.50.0000.00716.85
8.0.30.0110.00717.03
8.0.20.0150.00617.40
8.0.10.0040.00417.01
8.0.00.0120.00516.90
7.4.330.0000.00515.17
7.4.320.0030.00316.52
7.4.300.0080.00016.54
7.4.290.0050.00216.55
7.4.280.0030.00316.38
7.4.270.0000.00716.56
7.4.260.0040.00416.41
7.4.250.0070.00016.52
7.4.240.0030.00416.51
7.4.230.0000.00716.51
7.4.220.0160.01016.55
7.4.210.0070.00916.46
7.4.200.0030.00316.34
7.4.190.0000.00716.24
7.4.160.0090.00616.44
7.4.150.0140.01017.40
7.4.140.0070.01417.86
7.4.130.0080.00916.48
7.4.120.0100.00616.32
7.4.110.0120.00616.35
7.4.100.0100.01316.44
7.4.90.0170.00016.48
7.4.80.0170.00719.39
7.4.70.0070.01416.39
7.4.60.0130.00316.25
7.4.50.0080.00016.56
7.4.40.0060.01022.77
7.4.30.0100.00716.54
7.4.00.0040.01114.96
7.3.330.0020.00213.13
7.3.320.0060.00012.94
7.3.310.0000.00716.27
7.3.300.0000.00716.24
7.3.290.0120.00616.13
7.3.280.0090.00716.19
7.3.270.0100.01017.40
7.3.260.0090.00816.30
7.3.250.0140.00716.41
7.3.240.0080.00816.18
7.3.230.0100.00616.39
7.3.210.0130.01016.58
7.3.200.0090.00919.39
7.3.190.0150.00616.16
7.3.180.0070.00816.11
7.3.170.0090.01316.27
7.3.160.0100.00616.52
7.3.120.0050.01214.78
7.3.110.0110.00714.72
7.3.100.0060.00914.52
7.3.90.0080.00314.46
7.3.80.0060.00914.84
7.3.70.0060.01314.80
7.3.60.0040.01114.50
7.3.50.0000.01514.90
7.3.40.0060.00314.55
7.3.30.0040.01414.85
7.3.20.0040.00416.43
7.3.10.0080.00616.63
7.3.00.0040.01216.67
7.2.330.0070.01016.65
7.2.320.0090.00916.61
7.2.310.0090.01116.45
7.2.300.0090.00916.59
7.2.290.0090.01216.31
7.2.250.0130.00715.03
7.2.240.0100.01015.00
7.2.230.0120.00015.07
7.2.220.0060.00315.09
7.2.210.0110.00414.58
7.2.200.0040.01414.86
7.2.190.0030.01214.98
7.2.180.0000.01415.13
7.2.170.0000.01014.57
7.2.60.0040.01116.81
7.2.00.0040.00919.13
7.1.330.0030.01315.49
7.1.320.0040.01215.75
7.1.310.0120.00315.44
7.1.300.0000.01015.82
7.1.290.0080.00815.94
7.1.280.0000.01715.61
7.1.270.0000.01415.80
7.1.260.0100.00315.80
7.1.200.0090.00315.91
7.1.100.0000.00818.07
7.1.70.0070.01116.68
7.1.60.0090.01519.82
7.1.50.0100.00716.59
7.1.00.0070.07322.31
7.0.200.0000.00716.73
7.0.140.0070.07022.07
7.0.60.0030.05320.00
7.0.50.0070.08317.85
7.0.40.0130.08320.20
7.0.30.0270.08020.02
7.0.20.0130.04720.18
7.0.10.0070.05320.00
7.0.00.0070.07720.09
5.6.280.0000.07721.10
5.6.210.0170.07320.70
5.6.200.0000.07318.11
5.6.190.0130.03720.27
5.6.180.0030.04020.41
5.6.170.0330.06020.52
5.6.160.0070.04020.44
5.6.150.0000.05018.12
5.6.140.0030.08718.12
5.6.130.0100.07318.21
5.6.120.0100.04321.09
5.6.110.0070.08720.97
5.6.100.0070.05320.97
5.6.90.0100.06020.92
5.6.80.0130.04720.43
5.5.350.0070.04320.46
5.5.340.0170.05017.99
5.5.330.0030.04320.42
5.5.320.0300.08020.34
5.5.310.0300.06320.20
5.5.300.0030.05718.02
5.5.290.0170.04018.01
5.5.280.0070.03720.68
5.5.270.0070.04020.75
5.5.260.0130.07720.79
5.5.250.0030.08720.45
5.5.240.0000.08020.12
5.4.450.0570.05019.41
5.4.440.0530.03719.39
5.4.430.0200.03019.46
5.4.420.0400.04319.23
5.4.410.0100.05318.84
5.4.400.0070.05318.72
5.4.390.0100.05318.70
5.4.380.0170.05318.70
5.4.370.0270.05318.52
5.4.360.0200.05018.62
5.4.350.0130.06018.49
5.4.340.0170.05718.71
5.4.320.0080.04012.45
5.4.310.0100.03812.45
5.4.300.0070.03812.45
5.4.290.0040.04012.45
5.4.280.0060.04512.35
5.4.270.0060.03712.31
5.4.260.0080.03512.32
5.4.250.0070.03612.31
5.4.240.0070.03512.32
5.4.230.0050.03912.30
5.4.220.0040.03812.31
5.4.210.0050.03612.31
5.4.200.0050.04312.31
5.4.190.0050.03612.30
5.4.180.0060.04012.30
5.4.170.0050.03812.31
5.4.160.0050.03912.30
5.4.150.0030.03912.30
5.4.140.0020.04211.99
5.4.130.0070.03911.97
5.4.120.0060.03811.93
5.4.110.0100.03211.93
5.4.100.0050.04711.93
5.4.90.0050.03811.93
5.4.80.0050.03811.93
5.4.70.0060.03411.93
5.4.60.0100.03211.93
5.4.50.0100.03211.93
5.4.40.0090.03311.91
5.4.30.0010.04111.91
5.4.20.0090.03311.91
5.4.10.0080.03311.91
5.4.00.0050.04011.40
5.3.290.0070.03812.80
5.3.280.0080.03612.71
5.3.270.0070.03812.73
5.3.260.0080.03712.72
5.3.250.0050.04312.72
5.3.240.0050.04812.72
5.3.230.0090.03712.71
5.3.220.0070.03612.68
5.3.210.0060.04012.68
5.3.200.0070.04012.68
5.3.190.0090.04112.68
5.3.180.0080.03512.67
5.3.170.0030.04112.67
5.3.160.0060.03912.67
5.3.150.0070.03612.68
5.3.140.0080.03812.66
5.3.130.0090.04012.66
5.3.120.0110.04412.65
5.3.110.0070.04412.65
5.3.100.0100.03312.12
5.3.90.0070.04212.09
5.3.80.0070.04012.07
5.3.70.0080.03412.07
5.3.60.0040.03812.06
5.3.50.0050.03812.00
5.3.40.0080.04112.00
5.3.30.0050.04411.93
5.3.20.0050.03611.70
5.3.10.0050.03911.66
5.3.00.0070.03411.64
5.2.170.0060.0299.15
5.2.160.0030.0339.15
5.2.150.0040.0319.14
5.2.140.0080.0289.14
5.2.130.0070.0269.11
5.2.120.0050.0309.10
5.2.110.0060.0289.11
5.2.100.0080.0259.11
5.2.90.0070.0279.11
5.2.80.0070.0279.10
5.2.70.0040.0309.09
5.2.60.0050.0309.05
5.2.50.0050.0319.02
5.2.40.0050.0299.00
5.2.30.0060.0298.97
5.2.20.0040.0328.96
5.2.10.0080.0268.89
5.2.00.0050.0318.75
5.1.60.0050.0248.03
5.1.50.0020.0298.04
5.1.40.0030.0268.02
5.1.30.0040.0278.37
5.1.20.0060.0258.40
5.1.10.0020.0298.11
5.1.00.0030.0268.11
5.0.50.0050.0186.59
5.0.40.0040.0196.45
5.0.30.0010.0336.27
5.0.20.0020.0226.24
5.0.10.0050.0206.21
5.0.00.0030.0306.21
4.4.90.0020.0204.78
4.4.80.0040.0154.76
4.4.70.0030.0154.75
4.4.60.0030.0154.76
4.4.50.0020.0194.77
4.4.40.0030.0254.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0040.0144.85
4.4.00.0030.0284.76
4.3.110.0040.0154.67
4.3.100.0040.0154.67
4.3.90.0030.0164.63
4.3.80.0030.0254.59
4.3.70.0050.0134.63
4.3.60.0030.0164.63
4.3.50.0030.0164.63
4.3.40.0020.0254.54
4.3.30.0010.0163.27
4.3.20.0040.0133.25
4.3.10.0010.0163.21
4.3.00.0000.02315.02

preferences:
29.53 ms | 403 KiB | 5 Q