3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Author: holdoffhunger@gmail.com $hexadecimal_number = "1234567890aBcDeF012"; $binary_number = base_convert($hexadecimal_number, 16, 2); print($binary_number); ?>

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.0150.00318.56
8.3.50.0050.01322.05
8.3.40.0070.00718.84
8.3.30.0100.00318.71
8.3.20.0040.00418.73
8.3.10.0050.00221.21
8.3.00.0080.00023.91
8.2.180.0140.00716.50
8.2.170.0140.00722.96
8.2.160.0110.00420.65
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00819.88
8.2.110.0080.00420.60
8.2.100.0060.00617.84
8.2.90.0030.00619.48
8.2.80.0080.00018.17
8.2.70.0040.00417.50
8.2.60.0000.00818.18
8.2.50.0000.00918.07
8.2.40.0080.00018.13
8.2.30.0030.00521.27
8.2.20.0030.00517.75
8.2.10.0000.00717.96
8.2.00.0060.00317.98
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0090.00022.58
8.1.230.0090.00320.83
8.1.220.0080.00018.77
8.1.210.0100.00518.95
8.1.200.0030.00617.48
8.1.190.0040.00417.53
8.1.180.0080.00018.10
8.1.170.0030.00618.46
8.1.160.0030.00619.06
8.1.150.0050.00218.75
8.1.140.0000.00717.49
8.1.130.0000.00717.93
8.1.120.0000.00717.52
8.1.110.0000.00817.57
8.1.100.0050.00217.62
8.1.90.0030.00517.57
8.1.80.0050.00317.45
8.1.70.0050.00217.53
8.1.60.0040.00417.55
8.1.50.0030.00517.54
8.1.40.0030.00917.55
8.1.30.0000.00817.62
8.1.20.0060.00317.77
8.1.10.0020.00517.68
8.1.00.0000.00817.60
8.0.300.0000.00920.09
8.0.290.0050.00317.30
8.0.280.0040.00418.59
8.0.270.0080.00017.34
8.0.260.0030.00316.90
8.0.250.0040.00417.14
8.0.240.0070.00317.18
8.0.230.0030.00317.04
8.0.220.0000.00717.05
8.0.210.0000.00716.86
8.0.200.0000.00617.01
8.0.190.0040.00417.05
8.0.180.0040.00416.98
8.0.170.0100.00017.01
8.0.160.0000.00716.98
8.0.150.0040.00416.93
8.0.140.0040.00416.93
8.0.130.0050.00013.37
8.0.120.0000.00816.91
8.0.110.0040.00416.97
8.0.100.0040.00416.76
8.0.90.0050.00216.96
8.0.80.0100.00616.88
8.0.70.0040.00416.84
8.0.60.0040.00416.84
8.0.50.0000.00717.01
8.0.30.0100.00917.26
8.0.20.0150.00717.40
8.0.10.0000.00717.02
8.0.00.0110.00716.81
7.4.330.0000.00514.90
7.4.320.0030.00316.59
7.4.300.0060.00016.73
7.4.290.0040.00416.48
7.4.280.0000.00716.55
7.4.270.0000.00716.62
7.4.260.0000.00813.32
7.4.250.0080.00016.58
7.4.240.0030.00316.62
7.4.230.0070.00016.74
7.4.220.0090.00916.48
7.4.210.0090.00716.64
7.4.200.0070.00016.49
7.4.190.0000.00716.66
7.4.160.0060.00916.43
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0090.00816.60
7.4.120.0120.00516.59
7.4.110.0130.00916.51
7.4.100.0070.01616.55
7.4.90.0070.01116.62
7.4.80.0210.00019.39
7.4.70.0080.00816.77
7.4.60.0060.01216.56
7.4.50.0090.00016.50
7.4.40.0060.01022.52
7.4.30.0060.01016.74
7.4.00.0090.00615.26
7.3.330.0000.00513.32
7.3.320.0000.00513.35
7.3.310.0000.00716.46
7.3.300.0070.00016.35
7.3.290.0040.01116.35
7.3.280.0100.00516.37
7.3.270.0100.00717.40
7.3.260.0080.00918.24
7.3.250.0110.00616.62
7.3.240.0130.01016.71
7.3.230.0070.01016.43
7.3.210.0030.01416.59
7.3.200.0070.01419.39
7.3.190.0150.00316.65
7.3.180.0150.00316.47
7.3.170.0120.00316.32
7.3.160.0030.01216.52
7.3.120.0030.01015.05
7.2.330.0110.00716.68
7.2.320.0200.00516.45
7.2.310.0130.01216.50
7.2.300.0180.00616.86
7.2.290.0060.01316.63
7.2.00.0000.01219.35
7.1.200.0070.00715.81
7.1.100.0100.00618.00
7.1.70.0060.01216.96
7.1.60.0100.01319.40
7.1.50.0040.01517.02
7.1.00.0070.07022.36
7.0.200.0040.00716.62
7.0.140.0030.07721.93
7.0.70.0000.03721.84
7.0.60.0000.03321.88
7.0.50.0030.04322.11
7.0.40.0000.03320.08
7.0.30.0000.04720.25
7.0.20.0030.03320.27
7.0.10.0070.05020.15
7.0.00.0100.08320.19
5.6.280.0070.06721.21
5.6.220.0000.04320.74
5.6.210.0070.03320.49
5.6.200.0000.04321.05
5.6.190.0000.03721.17
5.6.180.0000.03721.04
5.6.170.0000.03721.23
5.6.160.0030.08321.10
5.6.150.0030.07721.11
5.6.140.0030.05721.18
5.6.130.0030.07721.20
5.6.120.0070.08021.20
5.6.110.0200.06721.17
5.6.100.0030.06721.13
5.6.90.0070.08020.99
5.6.80.0070.07320.40
5.6.70.0070.06020.47
5.6.60.0030.08020.47
5.6.50.0030.07720.63
5.6.40.0070.06720.40
5.6.30.0070.07720.55
5.6.20.0030.07720.45
5.6.10.0030.07320.55
5.6.00.0000.09020.41
5.5.360.0070.03720.45
5.5.350.0030.03320.45
5.5.340.0070.03020.78
5.5.330.0000.03721.08
5.5.320.0000.04020.77
5.5.310.0000.04320.94
5.5.300.0100.07720.99
5.5.290.0070.07320.98
5.5.280.0000.04321.07
5.5.270.0130.07720.78
5.5.260.0100.08020.92
5.5.250.0070.07720.71
5.5.240.0030.07320.29
5.5.230.0100.07720.30
5.5.220.0000.08020.35
5.5.210.0000.08020.31
5.5.200.0070.07320.29
5.5.190.0030.08320.29
5.5.180.0000.08320.28
5.5.160.0030.08320.13
5.5.150.0030.07720.29
5.5.140.0030.08020.16
5.5.130.0070.07020.30
5.5.120.0100.06320.29
5.5.110.0030.07320.29
5.5.100.0030.06720.08
5.5.90.0130.06320.31
5.5.80.0030.06020.05
5.5.70.0070.03720.04
5.5.60.0100.06020.02
5.5.50.0030.06020.20
5.5.40.0070.07720.13
5.5.30.0000.07720.22
5.5.20.0070.06320.06
5.5.10.0070.04720.18
5.5.00.0070.07720.02
5.4.450.0070.06719.46
5.4.440.0000.08319.46
5.4.430.0100.07019.58
5.4.420.0070.06319.34
5.4.410.0000.08019.30
5.4.400.0000.07719.24
5.4.390.0070.06019.34
5.4.380.0000.06719.14
5.4.370.0070.07019.02
5.4.360.0130.06019.35
5.4.350.0030.07019.16
5.4.340.0070.06719.35
5.4.320.0000.07319.14
5.4.310.0030.07719.02
5.4.300.0030.06019.03
5.4.290.0070.06718.83
5.4.280.0030.07019.14
5.4.270.0030.07719.01
5.4.260.0100.05719.20
5.4.250.0070.07319.02
5.4.240.0000.05318.92
5.4.230.0070.06019.20
5.4.220.0000.08719.33
5.4.210.0000.07018.91
5.4.200.0030.05318.92
5.4.190.0030.06019.13
5.4.180.0070.06719.32
5.4.170.0130.06719.14
5.4.160.0000.07318.99
5.4.150.0070.06318.81
5.4.140.0030.06316.19
5.4.130.0100.04716.34
5.4.120.0070.06316.33
5.4.110.0070.07316.49
5.4.100.0030.07316.53
5.4.90.0030.07316.48
5.4.80.0000.06716.50
5.4.70.0030.06316.52
5.4.60.0000.04716.32
5.4.50.0070.06716.43
5.4.40.0070.06316.34
5.4.30.0130.06716.43
5.4.20.0070.06316.34
5.4.10.0070.07016.29
5.4.00.0030.06715.83
5.3.290.0030.08014.64
5.3.280.0070.07014.58
5.3.270.0070.07714.57
5.3.260.0000.07714.58
5.3.250.0100.06714.61
5.3.240.0070.07314.46
5.3.230.0000.06314.58
5.3.220.0030.07314.55
5.3.210.0030.07014.56
5.3.200.0100.05314.55
5.3.190.0070.06314.52
5.3.180.0030.08014.52
5.3.170.0070.06314.49
5.3.160.0030.07014.49
5.3.150.0000.07314.53
5.3.140.0130.06314.50
5.3.130.0030.08014.45
5.3.120.0070.07314.53
5.3.110.0000.07014.53
5.3.100.0030.07314.04
5.3.90.0030.07013.88
5.3.80.0030.06713.97
5.3.70.0070.05713.99
5.3.60.0130.06713.86
5.3.50.0030.06313.90
5.3.40.0000.07313.89
5.3.30.0030.06713.85
5.3.20.0030.07313.54
5.3.10.0100.06313.59
5.3.00.0000.08013.64
5.2.170.0000.06711.11
5.2.160.0030.06311.05
5.2.150.0100.06011.09
5.2.140.0000.06311.05
5.2.130.0070.05711.09
5.2.120.0000.06311.13
5.2.110.0000.05011.14
5.2.100.0030.06311.13
5.2.90.0000.05311.05
5.2.80.0070.05711.08
5.2.70.0000.06311.13
5.2.60.0000.06011.08
5.2.50.0170.05711.05
5.2.40.0030.04711.05
5.2.30.0030.05011.05
5.2.20.0030.04011.05
5.2.10.0100.05311.05
5.2.00.0030.05711.05
5.1.60.0030.04311.05
5.1.50.0030.03311.05
5.1.40.0030.05311.05
5.1.30.0030.05311.05
5.1.20.0000.05711.05
5.1.10.0070.04011.05
5.1.00.0070.05011.05
5.0.50.0000.04311.05
5.0.40.0000.04311.05
5.0.30.0000.06311.05
5.0.20.0070.04311.05
5.0.10.0000.04311.05
5.0.00.0030.05311.05
4.4.90.0000.03711.05
4.4.80.0030.02711.05
4.4.70.0030.03011.05
4.4.60.0000.03711.05
4.4.50.0030.03311.05
4.4.40.0000.05711.05
4.4.30.0030.03311.05
4.4.20.0000.04011.05
4.4.10.0030.03711.05
4.4.00.0030.05311.05
4.3.110.0000.03011.05
4.3.100.0000.03311.05
4.3.90.0000.03011.05
4.3.80.0000.05011.05
4.3.70.0000.02711.05
4.3.60.0000.03311.05
4.3.50.0000.03311.05
4.3.40.0070.04311.05
4.3.30.0000.03711.05
4.3.20.0000.03011.05
4.3.10.0000.03311.05
4.3.00.0000.03711.05

preferences:
43.63 ms | 401 KiB | 5 Q