3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php public function password_md5_mess($pass) { $pass=md5($pass); $split=(str_split(md5($pass),16)); //split MD5 sum (32 chars))on 2 parts md5($split[1]); //calculate MD5 on 2 (16 chars)) part of password return $password; } password_md5_mess('12345'); echo $password ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /in/CBTq4 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PUBLIC in /in/CBTq4 on line 2
Process exited with code 255.