3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hex1 = "B5365D09"; $hex2 = "DEBC252C"; // Convert hexadecimal values to decimal $dec1 = hexdec($hex1); $dec2 = hexdec($hex2); // Perform multiplication operation $result = $dec1 * $dec2; // Convert result back to hexadecimal $hex_result = dechex(intval($result)); // Print result echo "Result: $hex_result\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.5.30.0090.00819.14
8.5.20.0070.01119.58
8.5.10.0100.00820.16
8.5.00.0130.00920.22
8.4.180.0120.00922.04
8.4.170.0130.00820.22
8.4.160.0150.00721.26
8.4.150.0060.00616.88
8.4.140.0130.00917.57
8.4.130.0110.00917.80
8.4.120.0060.00520.75
8.4.110.0040.00619.14
8.4.100.0090.00718.73
8.4.90.0090.00217.82
8.4.80.0090.00517.93
8.4.70.0060.00317.83
8.4.60.0130.00820.15
8.4.50.0140.00519.14
8.4.40.0130.00719.56
8.4.30.0120.00620.52
8.4.20.0170.00319.73
8.4.10.0030.00624.00
8.3.300.0060.00418.25
8.3.290.0130.00620.69
8.3.280.0110.01018.39
8.3.270.0120.00716.76
8.3.260.0100.00816.75
8.3.250.0100.00918.62
8.3.240.0060.00316.79
8.3.230.0120.00816.47
8.3.220.0070.00218.93
8.3.210.0100.00816.77
8.3.200.0050.00416.74
8.3.190.0070.01119.09
8.3.180.0140.00616.58
8.3.170.0110.00718.91
8.3.160.0040.00416.72
8.3.150.0070.01118.85
8.3.140.0050.00316.75
8.3.130.0120.00318.41
8.3.120.0150.00420.82
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0090.00626.77
8.3.80.0030.00618.30
8.3.70.0100.00718.31
8.3.60.0110.00416.75
8.3.50.0150.00018.34
8.3.40.0100.01019.88
8.3.30.0080.00618.68
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.300.0110.00922.16
8.2.290.0100.00920.54
8.2.280.0050.00422.04
8.2.270.0130.00718.47
8.2.260.0090.00920.71
8.2.250.0000.00918.46
8.2.240.0060.00319.17
8.2.230.0040.00422.58
8.2.220.0100.00637.54
8.2.210.0160.00326.77
8.2.200.0040.00416.38
8.2.190.0070.00716.63
8.2.180.0100.00325.92
8.2.170.0170.00318.91
8.2.160.0140.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0090.00026.16
8.2.110.0060.00320.46
8.2.100.0090.00317.84
8.2.90.0050.00317.75
8.2.80.0030.00618.73
8.2.70.0050.00317.63
8.2.60.0040.00417.98
8.2.50.0040.00418.07
8.2.40.0030.00620.20
8.2.30.0040.00418.14
8.2.20.0050.00319.37
8.2.10.0070.00018.24
8.2.00.0000.00819.31
8.1.340.0130.00917.61
8.1.330.0140.00821.98
8.1.320.0120.00715.95
8.1.310.0110.00716.79
8.1.300.0090.00618.18
8.1.290.0030.00630.84
8.1.280.0000.01525.92
8.1.270.0000.00724.66
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00324.04
8.1.230.0090.00319.13
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00317.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0040.00418.49
8.1.160.0040.00418.92
8.1.150.0080.00018.63
8.1.140.0000.00817.51
8.1.130.0110.00318.63
8.1.120.0040.00718.74
8.1.110.0100.00518.62
8.1.100.0180.00318.71
8.1.90.0040.01618.58
8.1.80.0210.00018.57
8.1.70.0080.00918.79
8.1.60.0110.00918.89
8.1.50.0150.00218.82
8.1.40.0130.00418.88
8.1.30.0130.00918.90
8.1.20.0200.00018.91
8.1.10.0160.00318.66
8.1.00.0200.00018.74
8.0.300.0040.00421.61
8.0.290.0050.00316.88
8.0.280.0030.00318.51
8.0.270.0030.00317.23
8.0.260.0040.00817.98
8.0.250.0100.00718.05
8.0.240.0070.00418.18
8.0.230.0050.01018.11
8.0.220.0090.00418.09
8.0.210.0030.00817.93
8.0.200.0060.00618.06
8.0.190.0040.00718.07
8.0.180.0000.01418.06
8.0.170.0030.00918.09
8.0.160.0070.00418.07
8.0.150.0090.00517.97
8.0.140.0140.00218.00
8.0.130.0090.00618.06
8.0.120.0150.00017.93
8.0.110.0070.00718.11
8.0.100.0080.00417.89
8.0.90.0090.00518.09
8.0.80.0030.01018.05
8.0.70.0120.00018.09
8.0.60.0110.00418.05
8.0.50.0110.00018.05
8.0.30.0060.00618.13
8.0.20.0120.00418.00
8.0.10.0150.00318.00

preferences:
49.45 ms | 1106 KiB | 5 Q