3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $length = 12; $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ0123456789'; $salt = 'sBbMBBlot2x'; echo hash('sha256', 'kazkoks' . $salt);
based on AhoSH
Output for 5.1.2 - 7.2.6
a4105a1e575a24556d034aef7ac2f2e5d111ca0218da598931d9f046d83d056d
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/97Aat on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/97Aat on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/97Aat on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/97Aat on line 9