3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '1392'; echo $string = mb_convert_encoding($str,"ASC-2"); echo intval($string)+1;
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: mb_convert_encoding(): Unknown encoding "ASC-2" in /in/G7E49 on line 4 1
Output for hhvm-3.12.0
Warning: Unknown encoding "ASC-2" in /in/G7E49 on line 4 1
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.1
Warning: mb_convert_encoding() [http://www.php.net/function.mb-convert-encoding]: Unknown encoding "ASC-2" in /in/G7E49 on line 4 1