3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function encriptar_email($email) { $partes = str_split(trim($email)); $nuevo = ''; foreach ($partes as $valor) { $nuevo .= '&#'.ord($valor).';'; } return $nuevo; } echo encriptar_mail('abc123')
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/3XTC3 on line 15
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/3XTC3 on line 15
Process exited with code 255.