3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pwd = 'heslo123'; echo crypt($pwd, $pwd[0]) . "\n"; echo crypt($pwd, $pwd[0] . '$') . "\n"; echo crypt($pwd, $pwd[0] . $pwd[0]);
based on 7n4Xv
Output for 7.0.0 - 7.3.0rc3
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /in/0WpCj on line 5 *0 Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /in/0WpCj on line 6 h$JqcT/V5So5c hh0l/WkqbnNKo
Output for 5.5.0 - 5.6.28
*0 h$JqcT/V5So5c hh0l/WkqbnNKo
Output for 5.3.2 - 5.4.45
h$JqcT/V5So5c h$JqcT/V5So5c hh0l/WkqbnNKo
Output for 5.3.0 - 5.3.1
h$NcskEty8UZk h$NcskEty8UZk hh0l/WkqbnNKo
Output for 4.3.0 - 5.2.17

Process exited with code 139.