3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hex = '5d41402abc4b2a76b9719d911017c592'; echo $string = encode($hex); // someASCIIletters123 echo decode(string) == $hex; //true
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '(string)' (string) (T_STRING_CAST), expecting ',' or ';' in /in/E1SEl on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING_CAST, expecting ',' or ';' in /in/E1SEl on line 5
Process exited with code 255.