3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'UserBundle\Selbstsucht'; $username = 'voadi'; $expires = '1450869565'; $password = '782153'; $hash = hash('sha256', $class.$username.$expires.$password.$this->getKey()); $hashHmac = hash_hmac('sha256', $class.$username.$expires.$password, $this->getKey()); 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.0040.01116.63
8.3.50.0090.01421.99
8.3.40.0040.01118.59
8.3.30.0090.00618.71
8.3.20.0040.00420.21
8.3.10.0050.00223.70
8.3.00.0050.00319.25
8.2.180.0190.00016.63
8.2.170.0070.00722.96
8.2.160.0130.00620.38
8.2.150.0110.00724.18
8.2.140.0000.00724.66
8.2.130.0030.00620.51
8.2.120.0060.00326.35
8.2.110.0030.00722.24
8.2.100.0080.00417.91
8.2.90.0040.00418.16
8.2.80.0000.00917.97
8.2.70.0000.00817.75
8.2.60.0040.00717.93
8.2.50.0040.00418.07
8.2.40.0000.00719.40
8.2.30.0000.00720.56
8.2.20.0050.00517.86
8.2.10.0080.00018.17
8.2.00.0030.00518.09
8.1.280.0060.01225.92
8.1.270.0030.00723.79
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0040.00422.20
8.1.230.0070.00420.97
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0100.00017.48
8.1.190.0000.00717.76
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0040.00422.02
8.1.150.0080.00018.76
8.1.140.0040.00419.52
8.1.130.0030.00317.75
8.1.120.0040.00417.51
8.1.110.0000.00717.37
8.1.100.0000.00817.52
8.1.90.0080.00017.36
8.1.80.0040.00417.38
8.1.70.0000.00717.50
8.1.60.0070.00417.60
8.1.50.0030.00517.50
8.1.40.0050.00317.47
8.1.30.0060.00317.58
8.1.20.0080.00017.60
8.1.10.0050.00217.54
8.1.00.0040.00417.51
8.0.300.0040.00419.99
8.0.290.0090.00016.75
8.0.280.0030.00318.44
8.0.270.0030.00317.27
8.0.260.0030.00317.32
8.0.250.0070.00017.04
8.0.240.0000.00717.06
8.0.230.0070.00016.88
8.0.220.0040.00416.99
8.0.210.0000.00816.83
8.0.200.0080.00016.91
8.0.190.0000.00817.07
8.0.180.0050.00317.03
8.0.170.0040.00416.92
8.0.160.0000.00716.86
8.0.150.0130.00017.00
8.0.140.0050.00216.93
8.0.130.0050.00013.36
8.0.120.0070.00016.94
8.0.110.0000.00816.97
8.0.100.0000.00716.75
8.0.90.0000.00716.77
8.0.80.0030.01316.84
8.0.70.0080.00016.79
8.0.60.0080.00016.86
8.0.50.0000.00716.94
8.0.30.0130.00517.12
8.0.20.0120.01017.40
8.0.10.0000.00717.06
8.0.00.0080.00916.78
7.4.330.0000.00516.74
7.4.320.0030.00316.52
7.4.300.0030.00316.43
7.4.290.0070.00016.55
7.4.280.0000.00916.48
7.4.270.0000.00616.66
7.4.260.0040.00416.59
7.4.250.0040.00416.39
7.4.240.0000.00816.48
7.4.230.0050.00216.50
7.4.220.0130.00616.67
7.4.210.0080.00716.69
7.4.200.0000.00716.50
7.4.160.0130.00316.50
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0050.01316.49
7.4.120.0050.01116.50
7.4.110.0100.00616.71
7.4.100.0130.01016.50
7.4.90.0060.01216.58
7.4.80.0160.00019.39
7.4.70.0120.00416.49
7.4.60.0100.00716.51
7.4.50.0100.00716.63
7.4.40.0140.00416.66
7.4.30.0100.00716.40
7.4.00.0060.01014.97
7.3.330.0050.00013.08
7.3.320.0000.00513.23
7.3.310.0030.00316.40
7.3.300.0040.00416.32
7.3.290.0020.01316.31
7.3.280.0080.01216.29
7.3.270.0070.01017.40
7.3.260.0120.00616.30
7.3.250.0100.00816.26
7.3.240.0080.01216.39
7.3.230.0100.01316.39
7.3.210.0120.00616.27
7.3.200.0140.00316.57
7.3.190.0090.00716.36
7.3.180.0100.00716.30
7.3.170.0080.01216.46
7.3.160.0140.00516.43
7.3.120.0070.01014.90
7.3.110.0040.01214.82
7.3.100.0120.00614.63
7.3.90.0100.00614.87
7.3.80.0060.00614.73
7.3.70.0080.00314.32
7.3.60.0030.01014.43
7.3.50.0030.00614.64
7.3.40.0030.01314.71
7.3.30.0030.01014.76
7.3.20.0090.00616.73
7.3.10.0030.00916.46
7.3.00.0100.00716.57
7.2.330.0130.00316.75
7.2.320.0060.01316.30
7.2.310.0000.01716.64
7.2.300.0170.00716.54
7.2.290.0070.01016.41
7.2.250.0120.00514.96
7.2.240.0090.00914.65
7.2.230.0100.00715.05
7.2.220.0000.01214.89
7.2.210.0030.01014.92
7.2.200.0040.00814.81
7.2.190.0040.00815.08
7.2.180.0060.01015.03
7.2.170.0030.00615.07
7.2.160.0070.01015.07
7.2.150.0120.00316.93
7.2.140.0060.00616.98
7.2.130.0060.00616.66
7.2.120.0060.01216.41
7.2.110.0050.00516.71
7.2.100.0070.01016.72
7.2.90.0070.00416.89
7.2.80.0040.01416.58
7.2.70.0030.00816.73
7.2.60.0030.01116.76
7.2.50.0090.00616.59
7.2.40.0000.01316.65
7.2.30.0060.00616.61
7.2.20.0040.00716.81
7.2.10.0070.00316.73
7.2.00.0050.01118.10
7.1.330.0030.01415.61
7.1.320.0030.00615.66
7.1.310.0080.00315.45
7.1.300.0030.01015.66
7.1.290.0100.00315.43
7.1.280.0040.00715.66
7.1.270.0060.00615.28
7.1.260.0060.00615.58
7.1.250.0060.00615.70
7.1.240.0060.00315.64
7.1.230.0070.00315.77
7.1.220.0060.00915.36
7.1.210.0080.00415.66
7.1.200.0040.00915.41
7.1.190.0080.00415.73
7.1.180.0030.00615.37
7.1.170.0130.00015.64
7.1.160.0070.00715.73
7.1.150.0100.00315.53
7.1.140.0100.00315.46
7.1.130.0110.00415.12
7.1.120.0070.01015.60
7.1.110.0120.00615.59
7.1.100.0060.00616.65
7.1.90.0060.01015.65
7.1.80.0030.01415.58
7.1.70.0080.00616.21
7.1.60.0070.01117.53
7.1.50.0040.00716.15
7.1.40.0080.00615.35
7.1.30.0120.00315.75
7.1.20.0060.00615.30
7.1.10.0000.00915.34
7.1.00.0020.04418.92
7.0.330.0030.00615.21
7.0.320.0100.00715.21
7.0.310.0120.00315.17
7.0.300.0030.01015.14
7.0.290.0000.01015.20
7.0.280.0130.00015.32
7.0.270.0100.00715.29
7.0.260.0100.00615.35
7.0.250.0030.00515.25
7.0.240.0040.00815.32
7.0.230.0000.01715.30
7.0.220.0110.00415.21
7.0.210.0070.00715.11
7.0.200.0090.00215.96
7.0.190.0090.00315.18
7.0.180.0070.00715.38
7.0.170.0070.00715.36
7.0.160.0060.00915.45
7.0.150.0000.00915.23
7.0.140.0030.01015.07
7.0.130.0070.00715.47
7.0.120.0030.00915.41
7.0.110.0000.01215.38
7.0.100.0060.00615.09
7.0.90.0060.00315.23
7.0.80.0070.00415.57
7.0.70.0060.00615.41
7.0.60.0040.02417.61
7.0.50.0090.02616.70
7.0.40.0100.04116.71
7.0.30.0230.03516.46
7.0.20.0190.02416.71
7.0.10.0130.03116.71
7.0.00.0050.04516.79
5.6.400.0040.00814.30
5.6.390.0070.00714.20
5.6.380.0000.01314.38
5.6.370.0030.01313.96
5.6.360.0080.00614.27
5.6.350.0060.00914.26
5.6.340.0060.00914.39
5.6.330.0030.01313.94
5.6.320.0000.01114.51
5.6.310.0040.00814.54
5.6.300.0080.00014.50
5.6.290.0100.00314.48
5.6.280.0030.02617.60
5.6.270.0000.01214.19
5.6.260.0120.00314.37
5.6.250.0080.00314.24
5.6.240.0150.00014.15
5.6.230.0000.01714.05
5.6.220.0090.00314.52
5.6.210.0080.03917.33
5.6.200.0070.04016.39
5.6.190.0090.03717.51
5.6.180.0250.04217.35
5.6.170.0170.03717.12
5.6.160.0100.04517.45
5.6.150.0030.03916.36
5.6.140.0020.02716.23
5.6.130.0080.04516.27
5.6.120.0050.03217.52
5.6.110.0100.03917.60
5.6.100.0070.04317.58
5.6.90.0070.04317.64
5.6.80.0110.03017.23
5.6.70.0000.01514.30
5.6.60.0070.00714.16
5.6.50.0060.00314.00
5.6.40.0060.00614.00
5.6.30.0090.00613.98
5.6.20.0040.01313.92
5.6.10.0100.00714.35
5.6.00.0040.01114.16
5.5.380.0060.00914.16
5.5.370.0040.00814.36
5.5.360.0030.00714.04
5.5.350.0130.03117.33
5.5.340.0080.04316.18
5.5.330.0140.03717.23
5.5.320.0050.02917.19
5.5.310.0150.03317.25
5.5.300.0070.04316.07
5.5.290.0090.03716.02
5.5.280.0050.02117.49
5.5.270.0050.04017.44
5.5.260.0070.04017.37
5.5.250.0070.04017.33
5.5.240.0130.03917.22
5.5.230.0030.01013.92
5.5.220.0060.00914.26
5.5.210.0060.00313.94
5.5.200.0090.00614.14
5.5.190.0000.01814.20
5.5.180.0030.01014.20
5.5.170.0070.00414.12
5.5.160.0030.01014.27
5.5.150.0100.00314.30
5.5.140.0080.00414.30
5.5.130.0090.00013.96
5.5.120.0030.01014.14
5.5.110.0060.00614.26
5.5.100.0090.00613.88
5.5.90.0060.00614.32
5.5.80.0140.00014.22
5.5.70.0030.00914.05
5.5.60.0110.00714.16
5.5.50.0040.00413.71
5.5.40.0000.01014.40
5.5.30.0100.00314.16
5.5.20.0090.00414.21
5.5.10.0060.01214.22
5.5.00.0080.00813.70

preferences:
51.02 ms | 401 KiB | 5 Q