3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'UserBundle\Selbstsucht'; $username = 'voadi'; $expires = '1450869565'; $password = '782153'; $key = "c5aec7f12e16a22c7a2203cb66866f2454c67d52"; $hash = hash('sha256', $class.$username.$expires.$password.$key); $hashHmac = hash_hmac('sha256', $class.$username.$expires.$password, $key); echo $hash; echo $hasHmac;

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.0110.01116.73
8.3.50.0110.00822.04
8.3.40.0070.00718.70
8.3.30.0090.00618.84
8.3.20.0060.00320.29
8.3.10.0020.00523.65
8.3.00.0000.00819.25
8.2.180.0060.01216.88
8.2.170.0070.00722.96
8.2.160.0130.00020.04
8.2.150.0060.00924.18
8.2.140.0050.00224.66
8.2.130.0030.00620.51
8.2.120.0090.00026.35
8.2.110.0040.00719.24
8.2.100.0060.00617.91
8.2.90.0040.00419.26
8.2.80.0000.00817.97
8.2.70.0090.00317.50
8.2.60.0050.00517.52
8.2.50.0040.00418.07
8.2.40.0000.00719.52
8.2.30.0040.00420.56
8.2.20.0030.00717.63
8.2.10.0040.00418.04
8.2.00.0000.00718.18
8.1.280.0080.01125.92
8.1.270.0000.01023.96
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00320.92
8.1.230.0040.00817.51
8.1.220.0090.00017.76
8.1.210.0000.00818.77
8.1.200.0000.01017.25
8.1.190.0040.00417.70
8.1.180.0050.00318.10
8.1.170.0040.00418.27
8.1.160.0020.00522.02
8.1.150.0040.00419.03
8.1.140.0050.00319.53
8.1.130.0000.00717.75
8.1.120.0070.00017.54
8.1.110.0030.00617.43
8.1.100.0040.00417.47
8.1.90.0000.00717.36
8.1.80.0000.00717.50
8.1.70.0000.00717.47
8.1.60.0000.01017.48
8.1.50.0080.00017.52
8.1.40.0000.00717.53
8.1.30.0060.00317.58
8.1.20.0000.00817.62
8.1.10.0070.00017.45
8.1.00.0040.00417.48
8.0.300.0120.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.34
8.0.270.0030.00317.26
8.0.260.0040.00417.32
8.0.250.0030.00317.05
8.0.240.0030.00316.95
8.0.230.0050.00216.94
8.0.220.0000.00816.98
8.0.210.0030.00416.82
8.0.200.0030.00316.94
8.0.190.0030.00516.93
8.0.180.0000.00816.94
8.0.170.0000.00716.90
8.0.160.0070.00016.96
8.0.150.0030.00616.80
8.0.140.0000.00716.86
8.0.130.0050.00013.42
8.0.120.0040.00416.91
8.0.110.0040.00416.84
8.0.100.0030.00616.79
8.0.90.0030.00516.77
8.0.80.0030.01216.92
8.0.70.0000.00816.88
8.0.60.0040.00416.82
8.0.50.0080.00016.93
8.0.30.0120.00617.13
8.0.20.0120.01117.40
8.0.10.0030.00516.84
8.0.00.0080.00916.66
7.4.330.0030.00316.67
7.4.320.0050.00216.66
7.4.300.0000.00616.50
7.4.290.0030.00316.54
7.4.280.0030.00616.54
7.4.270.0060.00316.63
7.4.260.0030.00316.60
7.4.250.0070.00016.33
7.4.240.0040.00316.47
7.4.230.0030.00316.46
7.4.220.0130.01316.35
7.4.210.0100.01016.54
7.4.200.0000.00816.38
7.4.160.0100.00716.44
7.4.150.0130.00317.40
7.4.140.0130.00817.86
7.4.130.0090.00816.46
7.4.120.0140.00316.43
7.4.110.0100.00716.38
7.4.100.0090.00916.29
7.4.90.0120.00616.63
7.4.80.0130.00719.39
7.4.70.0080.00816.39
7.4.60.0130.00316.47
7.4.50.0030.01216.16
7.4.40.0150.00316.44
7.4.30.0090.00816.63
7.4.00.0090.00614.79
7.3.330.0020.00213.18
7.3.320.0060.00013.07
7.3.310.0030.00316.27
7.3.300.0040.00416.20
7.3.290.0070.01016.26
7.3.280.0110.00716.25
7.3.270.0060.01217.40
7.3.260.0090.00916.49
7.3.250.0100.00916.43
7.3.240.0140.00316.49
7.3.230.0090.01016.39
7.3.210.0110.00516.36
7.3.200.0070.01016.56
7.3.190.0090.00616.31
7.3.180.0100.00616.65
7.3.170.0110.01116.27
7.3.160.0120.00816.36
7.3.10.0060.00616.70
7.3.00.0130.00016.31
7.2.330.0110.00616.69
7.2.320.0030.01616.73
7.2.310.0100.00716.69
7.2.300.0030.02016.75
7.2.290.0000.01616.65
7.2.130.0100.00316.61
7.2.120.0030.00716.86
7.2.110.0000.00916.88
7.2.100.0040.00716.51
7.2.90.0030.01016.73
7.2.80.0070.00816.77
7.2.70.0090.00616.86
7.2.60.0060.00816.84
7.2.50.0080.00316.75
7.2.40.0080.00516.80
7.2.30.0100.00316.59
7.2.20.0040.01416.26
7.2.10.0000.01216.55
7.2.00.0090.00718.09
7.1.250.0030.00515.30
7.1.100.0040.00818.35
7.1.70.0070.00016.89
7.1.60.0100.01319.36
7.1.50.0070.01316.93
7.1.00.0030.07722.36
7.0.200.0030.00716.75
7.0.60.0100.03320.03
7.0.50.0070.08017.85
7.0.40.0070.08020.04
7.0.30.0270.04720.21
7.0.20.0400.07320.28
7.0.10.0100.06320.33
7.0.00.0000.05720.09
5.6.280.0000.04021.05
5.6.210.0030.07720.55
5.6.200.0100.06318.20
5.6.190.0130.07720.77
5.6.180.0470.05320.60
5.6.170.0430.06720.48
5.6.160.0030.06320.50
5.6.150.0100.07318.15
5.6.140.0070.03718.07
5.6.130.0070.07718.08
5.6.120.0070.05720.89
5.6.110.0070.08320.99
5.6.100.0170.05321.11
5.6.90.0000.04321.02
5.6.80.0100.07320.41
5.5.350.0170.08320.38
5.5.340.0000.04017.91
5.5.330.0070.04320.15
5.5.320.0000.04720.34
5.5.310.0330.05020.20
5.5.300.0030.08318.02
5.5.290.0070.04017.89
5.5.280.0170.06720.95
5.5.270.0070.08320.95
5.5.260.0070.08720.86
5.5.250.0070.08720.69
5.5.240.0230.07320.23

preferences:
55.09 ms | 401 KiB | 5 Q