3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '1392'; echo $string = mb_convert_encoding($str,"UCS-2LE", "JIS, eucjp-win, sjis-win"); echo intval($string)+1;
Output for 4.3.0 - 4.3.10, 4.4.0 - 4.4.9, 5.0.5 - 7.1.7
?Xb|��|�{T|�1
Output for 4.3.11, 5.0.0 - 5.0.4
�?�?�?�?1