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($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.00919.55
8.5.20.0090.00819.24
8.5.10.0080.00820.21
8.5.00.0130.00920.09
8.4.180.0150.00719.78
8.4.170.0160.00623.80
8.4.160.0150.01023.79
8.4.150.0080.00516.90
8.4.140.0120.00917.97
8.4.130.0110.00617.86
8.4.120.0120.00822.17
8.4.110.0110.00922.79
8.4.100.0120.00917.62
8.4.90.0130.00817.84
8.4.80.0100.01017.68
8.4.70.0150.00817.84
8.4.60.0030.00617.97
8.4.50.0150.00519.65
8.4.40.0160.00317.96
8.4.30.0110.00720.39
8.4.20.0080.01119.39
8.4.10.0040.00421.79
8.3.300.0060.00322.61
8.3.290.0110.01018.46
8.3.280.0140.01218.59
8.3.270.0100.00916.46
8.3.260.0130.00716.72
8.3.250.0040.00619.00
8.3.240.0120.00716.80
8.3.230.0120.00816.80
8.3.220.0120.00617.18
8.3.210.0120.00716.58
8.3.200.0110.00616.82
8.3.190.0120.00816.75
8.3.180.0060.00216.53
8.3.170.0030.01618.73
8.3.160.0090.00916.43
8.3.150.0070.01118.90
8.3.140.0070.00316.62
8.3.130.0070.00718.36
8.3.120.0100.00718.82
8.3.110.0030.00616.56
8.3.100.0000.00818.52
8.3.90.0050.00326.77
8.3.80.0060.00318.30
8.3.70.0150.00316.63
8.3.60.0050.01016.73
8.3.50.0060.00920.10
8.3.40.0000.01520.09
8.3.30.0060.00918.79
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0150.00518.20
8.2.290.0070.00520.41
8.2.280.0110.00916.84
8.2.270.0140.00419.01
8.2.260.0000.00818.79
8.2.250.0050.00316.57
8.2.240.0130.00316.90
8.2.230.0080.00820.94
8.2.220.0080.00024.06
8.2.210.0040.01126.77
8.2.200.0050.00516.73
8.2.190.0140.00416.88
8.2.180.0090.00625.92
8.2.170.0110.01118.94
8.2.160.0100.00722.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0030.00622.13
8.2.100.0090.00317.72
8.2.90.0030.00618.03
8.2.80.0000.00817.63
8.2.70.0030.00617.63
8.2.60.0040.00418.01
8.2.50.0040.00418.07
8.2.40.0030.00619.95
8.2.30.0080.00017.94
8.2.20.0000.00719.12
8.2.10.0040.00418.13
8.2.00.0070.00019.21
8.1.340.0130.00819.82
8.1.330.0110.00821.89
8.1.320.0100.01016.43
8.1.310.0080.00016.80
8.1.300.0070.01418.33
8.1.290.0030.00630.84
8.1.280.0090.00925.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00322.46
8.1.230.0110.00021.04
8.1.220.0040.00417.74
8.1.210.0000.00818.84
8.1.200.0060.00317.47
8.1.190.0000.00817.35
8.1.180.0090.00018.10
8.1.170.0000.00918.54
8.1.160.0040.00418.83
8.1.150.0080.00018.58
8.1.140.0040.00417.41
8.1.130.0070.00518.49
8.1.120.0060.00518.57
8.1.110.0090.00518.53
8.1.100.0090.01118.69
8.1.90.0160.00318.59
8.1.80.0190.00118.64
8.1.70.0060.01218.67
8.1.60.0150.00318.68
8.1.50.0130.00518.73
8.1.40.0060.01118.84
8.1.30.0130.00718.79
8.1.20.0210.00018.74
8.1.10.0190.00318.77
8.1.00.0150.00718.76
8.0.300.0040.00419.94
8.0.290.0000.00716.75
8.0.280.0000.00718.29
8.0.270.0040.00416.89
8.0.260.0130.00218.04
8.0.250.0100.00618.06
8.0.240.0100.00418.05
8.0.230.0090.00718.02
8.0.220.0060.00917.94
8.0.210.0050.00517.99
8.0.200.0070.00518.05
8.0.190.0100.00418.00
8.0.180.0070.00718.04
8.0.170.0070.00717.94
8.0.160.0110.00317.94
8.0.150.0110.00418.02
8.0.140.0080.00617.97
8.0.130.0100.00617.99
8.0.120.0140.00317.95
8.0.110.0050.00717.89
8.0.100.0100.00217.90
8.0.90.0080.00617.91
8.0.80.0060.00617.98
8.0.70.0090.00417.94
8.0.60.0090.00617.94
8.0.50.0040.00817.94
8.0.30.0100.00117.93
8.0.20.0080.00418.01
8.0.10.0050.00918.08

preferences:
79.15 ms | 1140 KiB | 5 Q