3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(crypt('x', '$5'));
Output for 7.0.0 - 7.1.0
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /in/mrEHA on line 2 string(13) "$5YTDL0OnQT1c"
Output for hhvm-3.10.0 - 3.12.0
string(2) "*0"
Output for 5.5.0 - 5.6.28
string(13) "$5YTDL0OnQT1c"
Output for 4.3.0 - 5.2.17, 5.3.2 - 5.4.45
string(47) "$5$$0Uor7kq6CTPY0DtjOiw.I2DuJSUfiZxCqkrafMVjNc8"
Output for 5.3.0 - 5.3.1
string(13) "$542C/Z/WuHYE"