3v4l.org

run code in 300+ PHP versions simultaneously
<?php // decbin(), decoct(), and dechex() echo bindec("1.5"); echo octdec("1.5"); echo hexdec("1.5");

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.0090.00618.29
8.3.50.0100.00821.80
8.3.40.0110.00418.57
8.3.30.0070.00720.22
8.3.20.0090.00018.57
8.3.10.0040.00421.09
8.3.00.0080.00019.56
8.2.180.0070.01716.38
8.2.170.0110.00322.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0050.00319.95
8.2.110.0080.00022.25
8.2.100.0060.00617.91
8.2.90.0040.00419.08
8.2.80.0000.00719.28
8.2.70.0030.00617.50
8.2.60.0060.00317.93
8.2.50.0070.00418.07
8.2.40.0000.00819.82
8.2.30.0050.00219.53
8.2.20.0000.00817.63
8.2.10.0040.00417.46
8.2.00.0060.00317.54
8.1.280.0120.00625.92
8.1.270.0080.00023.99
8.1.260.0130.00626.35
8.1.250.0040.00428.09
8.1.240.0090.00922.41
8.1.230.0000.01120.88
8.1.220.0050.00218.77
8.1.210.0080.00018.97
8.1.200.0070.00317.23
8.1.190.0040.00417.28
8.1.180.0040.00418.10
8.1.170.0060.00318.58
8.1.160.0080.00018.66
8.1.150.0080.00018.44
8.1.140.0050.00217.27
8.1.130.0070.00017.74
8.1.120.0030.00617.33
8.1.110.0040.00417.29
8.1.100.0070.00017.30
8.1.90.0070.00017.29
8.1.80.0040.00417.21
8.1.70.0040.00417.19
8.1.60.0040.00417.50
8.1.50.0000.00717.21
8.1.40.0080.00017.25
8.1.30.0050.00217.52
8.1.20.0030.00517.55
8.1.10.0000.00717.30
8.1.00.0040.00417.35
8.0.300.0030.00619.85
8.0.290.0020.00517.16
8.0.280.0040.00418.36
8.0.270.0040.00417.12
8.0.260.0030.00316.82
8.0.250.0000.00716.95
8.0.240.0060.00316.98
8.0.230.0000.00716.80
8.0.220.0040.00416.69
8.0.210.0000.00816.70
8.0.200.0060.00016.82
8.0.190.0050.00316.74
8.0.180.0030.00316.79
8.0.170.0030.00416.77
8.0.160.0040.00416.84
8.0.150.0030.00516.66
8.0.140.0000.00816.73
8.0.130.0030.00313.23
8.0.120.0000.00816.81
8.0.110.0040.00416.79
8.0.100.0020.00516.81
8.0.90.0000.00716.64
8.0.80.0120.01216.74
8.0.70.0000.00716.76
8.0.60.0000.00716.90
8.0.50.0000.00716.88
8.0.30.0160.00617.11
8.0.20.0090.01017.40
8.0.10.0070.00016.85
8.0.00.0060.01216.63
7.4.330.0030.00316.77
7.4.320.0030.00316.47
7.4.300.0000.00616.45
7.4.290.0070.00016.31
7.4.280.0030.00516.39
7.4.270.0000.00716.44
7.4.260.0050.00013.03
7.4.250.0040.00416.40
7.4.240.0050.00216.46
7.4.230.0040.00316.25
7.4.220.0130.00716.42
7.4.210.0050.01016.39
7.4.200.0030.00316.34
7.4.190.0000.00716.59
7.4.160.0120.00816.32
7.4.150.0060.01817.40
7.4.140.0150.00617.86
7.4.130.0060.01216.57
7.4.120.0100.00716.40
7.4.110.0150.00316.40
7.4.100.0030.01516.23
7.4.90.0090.00816.38
7.4.80.0070.01119.39
7.4.70.0050.01116.30
7.4.60.0030.01316.23
7.4.50.0070.00316.45
7.4.40.0150.00022.77
7.4.30.0060.01516.29
7.4.00.0070.01014.82
7.3.330.0050.00012.96
7.3.320.0030.00312.96
7.3.310.0070.00016.12
7.3.300.0030.00316.11
7.3.290.0040.01016.15
7.3.280.0080.01016.17
7.3.270.0070.01017.40
7.3.260.0060.01418.24
7.3.250.0070.01116.25
7.3.240.0070.01716.42
7.3.230.0090.00916.39
7.3.210.0080.00816.15
7.3.200.0070.01019.39
7.3.190.0130.00916.53
7.3.180.0060.00916.39
7.3.170.0040.01716.27
7.3.160.0070.01016.30
7.3.120.0060.00914.90
7.2.330.0090.00916.43
7.2.320.0130.01016.50
7.2.310.0060.01616.50
7.2.300.0100.00616.49
7.2.290.0060.01016.52
7.2.60.0100.00316.51
7.2.00.0030.01219.19
7.1.200.0030.00715.48
7.1.100.0000.01418.15
7.1.70.0050.00516.75
7.1.60.0130.01019.24
7.1.50.0070.01116.88
7.1.00.0000.03722.42
7.0.200.0040.00416.39
7.0.140.0100.06722.21
7.0.100.0070.07319.91
7.0.90.0070.08020.11
7.0.80.0200.06319.93
7.0.70.0100.04319.93
7.0.60.0100.07719.96
7.0.50.0600.07720.20
7.0.40.0100.06020.05
7.0.30.0070.08720.14
7.0.20.0100.08320.19
7.0.10.0130.07320.07
7.0.00.0070.08020.03
5.6.280.0100.06321.03
5.6.250.0130.06320.64
5.6.240.0130.05020.59
5.6.230.0170.07020.55
5.6.220.0130.07720.47
5.6.210.0070.08020.44
5.6.200.0100.07721.17
5.6.190.0100.08321.08
5.6.180.0000.09021.08
5.6.170.0030.07721.00
5.6.160.0100.07720.93
5.6.150.0070.08320.96
5.6.140.0130.07320.93
5.6.130.0070.06320.98
5.6.120.0030.06320.96
5.6.110.0170.07321.04
5.6.100.0130.07720.95
5.6.90.0030.05321.11
5.6.80.0030.08020.38
5.6.70.0100.07020.41
5.6.60.0070.08320.32
5.6.50.0130.07320.34
5.6.40.0070.08320.40
5.6.30.0100.08020.53
5.6.20.0130.05020.37
5.6.10.0070.08020.38
5.6.00.0100.07320.44
5.5.380.0130.07720.54
5.5.370.0030.08020.39
5.5.360.0170.07020.35
5.5.350.0130.07320.46
5.5.340.0070.08720.86
5.5.330.0070.09020.91
5.5.320.0000.08720.78
5.5.310.0000.08720.88
5.5.300.0170.07320.87
5.5.290.0100.07020.80
5.5.280.0070.08020.92
5.5.270.0030.08320.82
5.5.260.0000.09020.91
5.5.250.0070.08020.64
5.5.240.0070.07320.29
5.5.230.0130.07320.14
5.5.220.0130.07020.24
5.5.210.0030.08020.17
5.5.200.0100.06720.08
5.5.190.0170.07320.18
5.5.180.0130.07720.24
5.5.160.0030.08020.15
5.5.150.0100.07020.23
5.5.140.0000.08020.23
5.5.130.0130.07020.17
5.5.120.0000.05320.14
5.5.110.0070.03720.21
5.5.100.0100.07320.11
5.5.90.0100.07320.16
5.5.80.0130.07020.00
5.5.70.0070.07020.10
5.5.60.0070.07720.15
5.5.50.0170.06020.15
5.5.40.0100.06020.13
5.5.30.0070.07720.02
5.5.20.0100.07019.99
5.5.10.0100.04720.04
5.5.00.0000.08019.96
5.4.450.0030.08319.43
5.4.440.0030.08319.47
5.4.430.0030.07319.42
5.4.420.0070.07719.30
5.4.410.0030.08319.45
5.4.400.0070.05318.97
5.4.390.0100.07718.97
5.4.380.0000.05319.05
5.4.370.0100.07019.14
5.4.360.0100.07019.04
5.4.350.0070.07319.15
5.4.340.0070.07319.06
5.4.320.0100.07319.15
5.4.310.0030.07318.79
5.4.300.0030.08019.14
5.4.290.0100.07318.84
5.4.280.0100.06018.96
5.4.270.0000.04318.98
5.4.260.0030.05318.90
5.4.250.0100.03318.96
5.4.240.0000.08318.96
5.4.230.0070.06719.09
5.4.220.0130.07719.12
5.4.210.0130.06718.78
5.4.200.0100.07019.07
5.4.190.0130.04018.78
5.4.180.0100.07019.05
5.4.170.0030.07319.15
5.4.160.0070.05718.77
5.4.150.0000.08318.77
5.4.140.0030.08016.43
5.4.130.0030.07716.32
5.4.120.0070.06716.14
5.4.110.0170.06016.33
5.4.100.0000.05316.25
5.4.90.0200.05716.42
5.4.80.0070.07016.20
5.4.70.0030.07716.30
5.4.60.0100.06316.38
5.4.50.0070.07316.30
5.4.40.0030.07316.37
5.4.30.0030.07316.38
5.4.20.0130.06716.18
5.4.10.0000.08716.41
5.4.00.0100.07015.82
5.3.290.0030.08014.65
5.3.280.0100.06314.59
5.3.270.0070.07714.55
5.3.260.0030.06714.56
5.3.250.0030.08314.59
5.3.240.0030.07714.46
5.3.230.0100.07714.55
5.3.220.0170.03714.52
5.3.210.0130.07014.54
5.3.200.0100.07014.52
5.3.190.0070.05314.54
5.3.180.0070.07314.50
5.3.170.0100.06014.42
5.3.160.0100.07314.40
5.3.150.0070.07714.38
5.3.140.0070.07714.50
5.3.130.0070.08014.53
5.3.120.0070.07714.52
5.3.110.0130.07014.54
5.3.100.0030.06014.04
5.3.90.0030.07313.95
5.3.80.0100.07313.92
5.3.70.0030.07013.96
5.3.60.0030.07713.93
5.3.50.0000.08013.90
5.3.40.0070.07713.93
5.3.30.0130.06713.76
5.3.20.0070.07313.67
5.3.10.0070.07313.56
5.3.00.0070.07013.63
5.2.170.0100.05711.16
5.2.160.0030.06310.96
5.2.150.0030.06311.13
5.2.140.0070.06011.05
5.2.130.0070.05711.10
5.2.120.0130.05710.92
5.2.110.0030.06311.05
5.2.100.0000.06310.94
5.2.90.0030.05711.02
5.2.80.0100.05710.95
5.2.70.0030.06311.13
5.2.60.0030.06011.07
5.2.50.0070.05710.84
5.2.40.0030.04710.86
5.2.30.0070.06010.96
5.2.20.0070.06010.94
5.2.10.0070.05310.95
5.2.00.0030.06010.62
5.1.60.0130.04710.12
5.1.50.0030.05310.12
5.1.40.0070.04710.12
5.1.30.0130.04710.39
5.1.20.0030.05310.41
5.1.10.0030.05310.12
5.1.00.0000.05710.12
5.0.50.0030.04710.12
5.0.40.0030.04710.12
5.0.30.0100.06010.12
5.0.20.0070.04010.12
5.0.10.0070.03010.12
5.0.00.0100.05710.12
4.4.90.0100.03010.12
4.4.80.0030.03310.12
4.4.70.0030.03010.12
4.4.60.0000.04010.12
4.4.50.0030.03310.12
4.4.40.0030.04710.12
4.4.30.0070.03310.12
4.4.20.0000.03710.12
4.4.10.0030.03310.12
4.4.00.0070.04710.12
4.3.110.0030.03710.12
4.3.100.0000.03710.12
4.3.90.0000.03710.12
4.3.80.0000.06010.12
4.3.70.0070.03010.12
4.3.60.0070.03310.12
4.3.50.0100.01310.12
4.3.40.0070.05010.12
4.3.30.0070.02310.12
4.3.20.0030.03710.12
4.3.10.0000.03310.12
4.3.00.0000.02310.12

preferences:
34.87 ms | 401 KiB | 5 Q