3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'jsdfldfcdfädädsa3e4fkdfd.dsfm jkdfdfdsafa-sad dkskdjsajdksafjflkfasd642fd#43rcdklanjrkesajsad'; $time0 = microtime(true); for ($i = 0; $i < 10000; $i++) { $sha512 = hash('sha512', $string); } $time1 = microtime(true); for ($i = 0; $i < 10000; $i++) { $md5 = hash('md5', $string); } $time2 = microtime(true); echo 'sha512 mit ' . strlen($sha512) . ' braucht ' . $time1-$time0 . PHP_EOL; echo 'md5 mit ' . strlen($md5) . ' braucht ' . $time2-$time1 . PHP_EOL;
Output for 7.1.0
Warning: A non-numeric value encountered in /in/jQYMP on line 19 -1385644959.0041 Warning: A non-numeric value encountered in /in/jQYMP on line 20 -1385644959.0124
Output for 7.0.14
-1385644959.0037 -1385644959.0168
Output for 7.0.10
-1385644959.0041 -1385644959.0165
Output for 7.0.9
-1385644959.0043 -1385644959.0179
Output for 7.0.8
-1385644959.0037 -1385644959.0151
Output for 7.0.7
-1385644959.0035 -1385644959.0139
Output for 7.0.6
-1385644959.0035 -1385644959.0137
Output for 7.0.5
-1385644959.0041 -1385644959.0161
Output for 7.0.4
-1385644959.0041 -1385644959.0164
Output for 7.0.3
-1385644959.0043 -1385644959.0173
Output for 7.0.2
-1385644959.003 -1385644959.0119
Output for 7.0.1
-1385644959.0036 -1385644959.0144
Output for 7.0.0
-1385644959.0028 -1385644959.0102
Output for 5.6.28
-1385644959.0045 -1385644959.02
Output for 5.5.31, 5.6.25
-1385644959.0041 -1385644959.016
Output for 5.6.24
-1385644959.0044 -1385644959.0173
Output for 5.6.23
-1385644959.0045 -1385644959.0172
Output for 5.6.22
-1385644959.0042 -1385644959.0163
Output for 5.6.21
-1385644959.0045 -1385644959.0176
Output for 5.6.19 - 5.6.20
-1385644959.0046 -1385644959.0176
Output for 5.6.18
-1385644959.0044 -1385644959.0164
Output for 5.6.17
-1385644959.004 -1385644959.016
Output for 5.5.36, 5.6.16
-1385644959.0045 -1385644959.0173
Output for 5.6.5, 5.6.15
-1385644959.0042 -1385644959.0162
Output for 5.6.14
-1385644959.0047 -1385644959.0179
Output for 5.6.13
-1385644959.0046 -1385644959.0175
Output for 5.6.12
-1385644959.0045 -1385644959.0167
Output for 5.6.11
-1385644959.0037 -1385644959.013
Output for 5.6.10
-1385644959.0031 -1385644959.0124
Output for 5.6.9
-1385644959.0027 -1385644959.0117
Output for 5.5.6 - 5.5.7, 5.5.12, 5.6.8
-1385644959.0027 -1385644959.011
Output for 5.5.10, 5.5.16 - 5.5.18, 5.6.0, 5.6.4, 5.6.6 - 5.6.7
-1385644959.0027 -1385644959.0109
Output for 5.6.3
-1385644959.0039 -1385644959.0168
Output for 5.6.2
-1385644959.0029 -1385644959.0113
Output for 5.6.1
-1385644959.0027 -1385644959.0108
Output for 5.5.38
-1385644959.0031 -1385644959.0122
Output for 5.5.37
-1385644959.004 -1385644959.0159
Output for 5.5.35
-1385644959.0041 -1385644959.0167
Output for 5.4.43, 5.5.34
-1385644959.0039 -1385644959.0148
Output for 5.5.33
-1385644959.0045 -1385644959.0149
Output for 5.5.32
-1385644959.0041 -1385644959.0159
Output for 5.5.30
-1385644959.0042 -1385644959.0149
Output for 5.5.29
-1385644959.004 -1385644959.0154
Output for 5.5.28
-1385644959.0039 -1385644959.0149
Output for 5.5.27
-1385644959.0034 -1385644959.0134
Output for 5.5.26
-1385644959.0028 -1385644959.0112
Output for 5.5.25
-1385644959.0027 -1385644959.0114
Output for 5.4.41, 5.5.24
-1385644959.0028 -1385644959.0108
Output for 5.5.23
-1385644959.003 -1385644959.0124
Output for 5.5.22
-1385644959.0043 -1385644959.0177
Output for 5.5.21
-1385644959.003 -1385644959.0123
Output for 5.4.38, 5.5.20
-1385644959.0027 -1385644959.0121
Output for 5.5.19
-1385644959.0039 -1385644959.0162
Output for 5.5.15
-1385644959.0039 -1385644959.0165
Output for 5.5.14
-1385644959.0029 -1385644959.0112
Output for 5.5.13
-1385644959.004 -1385644959.0165
Output for 5.5.11
-1385644959.0039 -1385644959.0157
Output for 5.5.9
-1385644959.0027 -1385644959.0107
Output for 5.5.8
-1385644959.0027 -1385644959.0111
Output for 5.5.5
-1385644959.0043 -1385644959.0175
Output for 5.5.4
-1385644959.0046 -1385644959.0179
Output for 5.5.3
-1385644959.0039 -1385644959.0154
Output for 5.5.2
-1385644959.0049 -1385644959.0188
Output for 5.5.1
-1385644959.0047 -1385644959.0185
Output for 5.5.0
-1385644959.0045 -1385644959.017
Output for 5.4.45
-1385644959.0055 -1385644959.023
Output for 5.4.44
-1385644959.0034 -1385644959.0156
Output for 5.4.42
-1385644959.0029 -1385644959.0137
Output for 5.4.40
-1385644959.0023 -1385644959.0101
Output for 5.4.39
-1385644959.0026 -1385644959.0117
Output for 5.4.37
-1385644959.0024 -1385644959.01
Output for 5.4.36
-1385644959.0024 -1385644959.0108
Output for 5.4.35
-1385644959.0023 -1385644959.0112
Output for 5.4.34
-1385644959.0038 -1385644959.0164
Output for 5.4.32
-1385644959.0023 -1385644959.0109
Output for 5.4.31
-1385644959.0022 -1385644959.0102
Output for 5.4.25, 5.4.28, 5.4.30
-1385644959.0023 -1385644959.0107
Output for 5.4.29
-1385644959.003 -1385644959.0139
Output for 5.4.27
-1385644959.0039 -1385644959.0188
Output for 5.4.26
-1385644959.0023 -1385644959.0106
Output for 5.4.24
-1385644959.0035 -1385644959.0164
Output for 5.4.23
-1385644959.0023 -1385644959.0108
Output for 5.4.22
-1385644959.0035 -1385644959.0163
Output for 5.4.21
-1385644959.0036 -1385644959.0156
Output for 5.4.20
-1385644959.0044 -1385644959.0165
Output for 5.4.19
-1385644959.0042 -1385644959.0186
Output for 5.4.18
-1385644959.0034 -1385644959.0166
Output for 5.4.17
-1385644959.0041 -1385644959.018
Output for 5.4.16
-1385644959.0052 -1385644959.0207
Output for 5.4.15
-1385644959.0036 -1385644959.0152
Output for 5.4.14
-1385644959.002 -1385644959.0125
Output for 5.4.13
-1385644959.0022 -1385644959.0152
Output for 5.4.12
-1385644959.0021 -1385644959.0133
Output for 5.4.11
-1385644959.0018 -1385644959.0123
Output for 5.4.10
-1385644959.0018 -1385644959.0126
Output for 5.4.9
-1385644959.0021 -1385644959.0147
Output for 5.4.8
-1385644959.0022 -1385644959.0147
Output for 5.4.7
-1385644959.0024 -1385644959.0161
Output for 5.4.6
-1385644959.002 -1385644959.0129
Output for 5.4.5
-1385644959.0018 -1385644959.0131
Output for 5.4.4
-1385644959.0025 -1385644959.0164
Output for 5.4.3
-1385644959.0021 -1385644959.0149
Output for 5.4.2
-1385644959.002 -1385644959.0123
Output for 5.4.1
-1385644959.0017 -1385644959.0121
Output for 5.4.0
-1385644959.0022 -1385644959.0154
Output for 5.3.29
-1385644959.0014 -1385644959.0114
Output for 5.3.28
-1385644959.0016 -1385644959.0125
Output for 5.3.27
-1385644959.0021 -1385644959.0157
Output for 5.3.25 - 5.3.26
-1385644959.0024 -1385644959.0173
Output for 5.3.24
-1385644959.0019 -1385644959.0139
Output for 5.3.23
-1385644959.0022 -1385644959.017
Output for 5.3.22
-1385644959.0017 -1385644959.0127
Output for 5.3.21
-1385644959.0021 -1385644959.0155
Output for 5.3.2, 5.3.20
-1385644959.0023 -1385644959.0166
Output for 5.3.19
-1385644959.0023 -1385644959.0183
Output for 5.3.18
-1385644959.0025 -1385644959.0187
Output for 5.3.17
-1385644959.0023 -1385644959.0158
Output for 5.3.16
-1385644959.0015 -1385644959.0107
Output for 5.3.15
-1385644959.0021 -1385644959.0135
Output for 5.3.14
-1385644959.0024 -1385644959.0175
Output for 5.3.11, 5.3.13
-1385644959.0023 -1385644959.0176
Output for 5.3.12
-1385644959.0022 -1385644959.0173
Output for 5.3.10
-1385644959.0015 -1385644959.0108
Output for 5.3.7 - 5.3.9
-1385644959.002 -1385644959.0149
Output for 5.3.6
-1385644959.0019 -1385644959.0143
Output for 5.3.5
-1385644959.0025 -1385644959.0185
Output for 5.3.4
-1385644959.0023 -1385644959.0174
Output for 5.3.3
-1385644959.0023 -1385644959.0169
Output for 5.3.1
-1385644959.0025 -1385644959.0175
Output for 5.3.0
-1385644959.0022 -1385644959.0166
Output for 5.2.17
-1385644959.0018 -1385644959.0133
Output for 5.2.16
-1385644959.0019 -1385644959.0184
Output for 5.2.15
-1385644959.002 -1385644959.0176
Output for 5.2.14
-1385644959.0015 -1385644959.0133
Output for 5.2.13
-1385644959.0017 -1385644959.0155
Output for 5.2.3, 5.2.12
-1385644959.0017 -1385644959.016
Output for 5.2.11
-1385644959.002 -1385644959.0175
Output for 5.2.10
-1385644959.0017 -1385644959.0169
Output for 5.2.9
-1385644959.0018 -1385644959.0191
Output for 5.2.8
-1385644959.0017 -1385644959.0162
Output for 5.2.7
-1385644959.0014 -1385644959.0136
Output for 5.2.6
-1385644959.0019 -1385644959.0172
Output for 5.2.5
-1385644959.0012 -1385644959.0107
Output for 5.2.4
-1385644959.0016 -1385644959.0157
Output for 5.2.2
-1385644959.0015 -1385644959.0149
Output for 5.2.1
-1385644959.0014 -1385644959.0139
Output for 5.2.0
-1385644959.0016 -1385644959.0163
Output for 5.1.2, 5.1.6
-1385644959.0017 -1385644959.0197
Output for 5.1.5
-1385644959.001 -1385644959.012
Output for 5.1.4
-1385644959.0017 -1385644959.0196
Output for 5.1.3
-1385644959.0017 -1385644959.019
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/jQYMP on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/jQYMP on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/jQYMP on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/jQYMP on line 7