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_email('abc123 sasd ewrqewr werewr wererw');e
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected end of file in /in/U36r0 on line 15
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/U36r0 on line 15
Process exited with code 255.