3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 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=password_md5_mess('12345'); echo $password; ?>
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: password in /in/bELHv on line 7
Output for 5.0.0 - 5.4.45
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/bELHv</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/bELHv</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/bELHv</b> on line <b>5</b><br />