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 fhfhgfh"); 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.00716.75
8.3.50.0120.00616.40
8.3.40.0040.01118.86
8.3.30.0110.00318.79
8.3.20.0040.01120.29
8.3.10.0040.00423.53
8.3.00.0120.00323.59
8.2.180.0120.00616.38
8.2.170.0000.01422.96
8.2.160.0070.00720.53
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0040.00420.84
8.2.120.0110.00426.35
8.2.110.0060.00322.20
8.2.100.0040.00817.93
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0040.00417.90
8.2.50.0040.00418.07
8.2.40.0040.00422.39
8.2.30.0040.00420.67
8.2.20.0070.00017.76
8.2.10.0050.00518.16
8.2.00.0020.00518.12
8.1.280.0130.01325.92
8.1.270.0080.00023.85
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.59
8.1.230.0030.00719.10
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.48
8.1.190.0090.00017.35
8.1.180.0000.00718.10
8.1.170.0060.00318.59
8.1.160.0000.00720.77
8.1.150.0000.00718.80
8.1.140.0050.00319.53
8.1.130.0070.00017.69
8.1.120.0030.00317.52
8.1.110.0000.00817.41
8.1.100.0000.00717.34
8.1.90.0030.00317.39
8.1.80.0000.00817.32
8.1.70.0050.00217.46
8.1.60.0040.00417.48
8.1.50.0030.00517.42
8.1.40.0000.00817.51
8.1.30.0030.00517.68
8.1.20.0050.00317.52
8.1.10.0040.00417.46
8.1.00.0000.00817.52
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.42
8.0.270.0000.00717.18
8.0.260.0060.00017.17
8.0.250.0000.00716.93
8.0.240.0000.00717.09
8.0.230.0030.00317.02
8.0.220.0000.00716.93
8.0.210.0000.00716.92
8.0.200.0000.00617.08
8.0.190.0030.00617.06
8.0.180.0030.00516.99
8.0.170.0040.00416.82
8.0.160.0000.00716.94
8.0.150.0080.00016.82
8.0.140.0070.00316.80
8.0.130.0030.00313.43
8.0.120.0030.00616.89
8.0.110.0040.00416.94
8.0.100.0000.00716.80
8.0.90.0000.00716.85
8.0.80.0120.00416.95
8.0.70.0050.00216.80
8.0.60.0040.00416.92
8.0.50.0040.00416.94
8.0.30.0100.00717.26
8.0.20.0120.00817.41
8.0.10.0040.00416.98
8.0.00.0110.00616.86
7.4.330.0050.00016.79
7.4.320.0040.00416.63
7.4.300.0080.00016.54
7.4.290.0000.00716.50
7.4.280.0030.00616.59
7.4.270.0000.00716.53
7.4.260.0040.00216.46
7.4.250.0040.00416.56
7.4.240.0040.00316.51
7.4.230.0030.00316.66
7.4.220.0150.02216.45
7.4.210.0070.01216.59
7.4.200.0000.00716.63
7.4.160.0080.00816.72
7.4.150.0120.00617.40
7.4.140.0100.01217.86
7.4.130.0100.00816.42
7.4.120.0100.00716.63
7.4.110.0090.01216.52
7.4.100.0100.01316.36
7.4.90.0170.00016.35
7.4.80.0090.00919.39
7.4.70.0090.00916.62
7.4.60.0090.00616.53
7.4.50.0040.01516.63
7.4.40.0180.00316.66
7.4.30.0120.01016.64
7.4.00.0030.00914.91
7.3.330.0000.00513.11
7.3.320.0030.00313.14
7.3.310.0030.00516.22
7.3.300.0070.00016.33
7.3.290.0000.00716.27
7.3.280.0050.01116.25
7.3.270.0030.01317.40
7.3.260.0110.01116.44
7.3.250.0110.00616.44
7.3.240.0050.01216.44
7.3.230.0130.00716.39
7.3.210.0100.00616.41
7.3.200.0120.00616.37
7.3.190.0130.00316.26
7.3.180.0100.00616.37
7.3.170.0100.00616.52
7.3.160.0100.00616.41
7.3.10.0030.00616.66
7.3.00.0030.00516.71
7.2.330.0100.00716.70
7.2.320.0130.00316.64
7.2.310.0070.01116.69
7.2.300.0140.00416.57
7.2.290.0130.00316.71
7.2.130.0030.00917.07
7.2.120.0110.00016.64
7.2.110.0040.01116.75
7.2.100.0050.00716.93
7.2.90.0070.00716.98
7.2.80.0060.00616.70
7.2.70.0130.00017.01
7.2.60.0030.01116.77
7.2.50.0000.01216.98
7.2.40.0090.00316.85
7.2.30.0070.00716.89
7.2.20.0030.01017.10
7.2.10.0030.01216.80
7.2.00.0070.00718.12
7.1.250.0060.00315.80
7.1.200.0060.00615.64
7.1.100.0240.00017.95
7.1.70.0000.00717.11
7.1.60.0140.01019.06
7.1.50.0120.00916.86
7.1.00.0070.07322.36
7.0.200.0000.00816.95
7.0.60.0130.04020.02
7.0.50.0130.08017.86
7.0.40.0070.07020.02
7.0.30.0200.04020.13
7.0.20.0270.06320.04
7.0.10.0030.08320.04
7.0.00.0130.07720.09
5.6.280.0030.03020.89
5.6.210.0170.07720.58
5.6.200.0030.07718.20
5.6.190.0070.08320.62
5.6.180.0070.07720.77
5.6.170.0370.07020.40
5.6.160.0070.05320.38
5.6.150.0100.06318.11
5.6.140.0070.08718.10
5.6.130.0070.05018.11
5.6.120.0030.06721.01
5.6.110.0030.04020.90
5.6.100.0070.03721.00
5.6.90.0030.09020.89
5.6.80.0100.06320.36
5.5.350.0370.07020.39
5.5.340.0100.06318.02
5.5.330.0030.06720.44
5.5.320.0270.04020.32
5.5.310.0270.04020.32
5.5.300.0100.03717.91
5.5.290.0000.06017.92
5.5.280.0070.08720.65
5.5.270.0070.08320.96
5.5.260.0000.05020.88
5.5.250.0130.04020.61
5.5.240.0230.07020.11

preferences:
59.64 ms | 400 KiB | 5 Q