3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mac = hash_hmac("sha512","Un message suffisamment long pour tomber dans le cas du calcul du hashmac5uc3m01","7h3_1337_k3y",false); $msg=3; print(bin2hex($mac)); $msg=eval("return hex2bin($mac);"); print($msg);

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.0140.00417.00
8.3.50.0130.00921.18
8.3.40.0110.00418.88
8.3.30.0090.00618.85
8.3.20.0130.00320.16
8.3.10.0060.00923.69
8.3.00.0140.00423.57
8.2.180.0040.01118.53
8.2.170.0070.00722.96
8.2.160.0090.00620.27
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00720.95
8.2.120.0060.00326.35
8.2.110.0050.00522.08
8.2.100.0120.00017.93
8.2.90.0040.00419.08
8.2.80.0000.00718.05
8.2.70.0060.00317.63
8.2.60.0000.00817.79
8.2.50.0000.00818.07
8.2.40.0080.00022.34
8.2.30.0000.00720.52
8.2.20.0000.00817.76
8.2.10.0100.00018.03
8.2.00.0050.00318.11
8.1.280.0110.01125.92
8.1.270.0080.00023.96
8.1.260.0040.00428.09
8.1.250.0070.00728.09
8.1.240.0050.00524.02
8.1.230.0110.00019.15
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0060.00318.71
8.1.160.0000.00820.85
8.1.150.0050.00318.89
8.1.140.0080.00019.57
8.1.130.0000.00717.70
8.1.120.0070.00017.51
8.1.110.0030.00617.38
8.1.100.0040.00417.51
8.1.90.0040.00417.47
8.1.80.0000.00717.42
8.1.70.0000.00717.41
8.1.60.0080.00017.46
8.1.50.0030.00517.48
8.1.40.0030.00617.41
8.1.30.0030.00517.63
8.1.20.0000.00817.66
8.1.10.0040.00417.61
8.1.00.0070.00017.49
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0040.00418.41
8.0.270.0000.00717.26
8.0.260.0030.00317.32
8.0.250.0000.00716.94
8.0.240.0000.00716.92
8.0.230.0030.00317.03
8.0.220.0000.00816.84
8.0.210.0040.00316.86
8.0.200.0030.00317.00
8.0.190.0000.00816.90
8.0.180.0070.00017.02
8.0.170.0040.00416.91
8.0.160.0000.00717.00
8.0.150.0000.00716.88
8.0.140.0000.00816.77
8.0.130.0000.00513.52
8.0.120.0040.00416.92
8.0.110.0030.00616.93
8.0.100.0030.00316.95
8.0.90.0030.00316.98
8.0.80.0090.00616.98
8.0.70.0000.00716.87
8.0.60.0050.00217.00
8.0.50.0040.00416.75
8.0.30.0070.00917.17
8.0.20.0120.01017.40
8.0.10.0000.00717.07
8.0.00.0120.00816.65
7.4.330.0030.00316.95
7.4.320.0030.00316.57
7.4.300.0060.00016.61
7.4.290.0030.00316.49
7.4.280.0090.00016.61
7.4.270.0000.00716.50
7.4.260.0030.00316.58
7.4.250.0070.00016.55
7.4.240.0050.00316.58
7.4.230.0000.00716.30
7.4.220.0100.01016.69
7.4.210.0070.00816.51
7.4.200.0070.00016.70
7.4.160.0120.00316.55
7.4.150.0080.01217.40
7.4.140.0100.01217.86
7.4.130.0100.00716.51
7.4.120.0100.00816.48
7.4.110.0100.00716.57
7.4.100.0100.00616.73
7.4.90.0080.00816.51
7.4.80.0070.01019.39
7.4.70.0060.01516.52
7.4.60.0120.00916.42
7.4.50.0090.00616.53
7.4.40.0100.00616.41
7.4.30.0000.01616.68
7.4.00.0040.00814.84
7.3.330.0000.00613.29
7.3.320.0050.00013.16
7.3.310.0030.00516.36
7.3.300.0000.00716.32
7.3.290.0030.00316.36
7.3.280.0070.01216.34
7.3.270.0140.00317.40
7.3.260.0140.01116.56
7.3.250.0070.01016.44
7.3.240.0130.00616.58
7.3.230.0100.00716.39
7.3.210.0090.00916.29
7.3.200.0030.01416.39
7.3.190.0060.01016.41
7.3.180.0110.00716.61
7.3.170.0070.01016.36
7.3.160.0060.01016.61
7.3.10.0170.00316.24
7.3.00.0110.00716.55
7.2.330.0120.00616.73
7.2.320.0150.00616.73
7.2.310.0070.01016.56
7.2.300.0100.00716.41
7.2.290.0100.01316.41
7.2.130.0060.00916.64
7.2.120.0190.00316.66
7.2.110.0180.00416.85
7.2.100.0090.00916.38
7.2.90.0180.00016.21
7.2.80.0070.01316.29
7.2.70.0190.00016.52
7.2.60.0030.01016.56
7.2.50.0110.00516.62
7.2.40.0100.00616.53
7.2.30.0100.01016.34
7.2.20.0190.00416.26
7.2.10.0110.01016.69
7.2.00.0030.01218.03
7.1.250.0070.01115.80
7.1.200.0060.00615.79
7.1.100.0000.01318.30
7.1.70.0040.00817.41
7.1.60.0090.01519.06
7.1.50.0000.01116.96
7.1.00.0070.07322.54
7.0.200.0090.00016.68
7.0.60.0070.07019.93
7.0.50.0070.09017.94
7.0.40.0070.09020.25
7.0.30.0170.05720.21
7.0.20.0230.05320.23
7.0.10.0030.04720.10
7.0.00.0000.05020.23
5.6.280.0070.06320.99
5.6.210.0030.08020.52
5.6.200.0030.07318.16
5.6.190.0070.04320.68
5.6.180.0000.05720.41
5.6.170.0370.07320.40
5.6.160.0070.05020.51
5.6.150.0070.08318.22
5.6.140.0030.09018.27
5.6.130.0070.06018.21
5.6.120.0030.08721.01
5.6.110.0070.04021.02
5.6.100.0000.04321.00
5.6.90.0170.08321.09
5.6.80.0100.08720.50
5.5.350.0270.07720.34
5.5.340.0130.07317.96
5.5.330.0230.06720.35
5.5.320.0430.04720.41
5.5.310.0230.03320.35
5.5.300.0070.08018.07
5.5.290.0030.08717.95
5.5.280.0130.03320.84
5.5.270.0000.09320.67
5.5.260.0030.07320.78
5.5.250.0130.06020.66
5.5.240.0200.08020.25

preferences:
55.22 ms | 401 KiB | 5 Q