3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $param = "%E7%91%9E%E6%80%9D%E5%AD%A6%E7%A7%91%E8%8B%B1%E8%AF%AD"; echo iconv("GBK", "UTF-8", urldecode($param)); echo mb_convert_encoding(urldecode($param), "utf-8", "gb2312");
based on GvfgZ
Output for 5.4.2 - 5.5.34, 5.6.7 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.2.0
Notice: iconv(): Detected an illegal character in input string in /in/UFvhV on line 3 ????瀛︾??辫?
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function iconv() in /in/UFvhV:3 Stack trace: #0 {main} thrown in /in/UFvhV on line 3
Process exited with code 255.
Output for 5.5.35, 5.6.21
Fatal error: Call to undefined function iconv() in /in/UFvhV on line 3
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Notice: iconv(): Detected an illegal character in input string in /in/UFvhV on line 3 鐟炴????瀛︾??辫?