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"; $decodeParam = urldecode($param); echo iconv("gb2312", "UTF-8", $decodeParam); echo mb_convert_encoding(urldecode($param), "utf-8");
based on igZmj
Output for 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/WgZJj on line 4 瑞思学科英语
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function iconv() in /in/WgZJj:4 Stack trace: #0 {main} thrown in /in/WgZJj on line 4
Process exited with code 255.
Output for 5.5.35, 5.6.21
Fatal error: Call to undefined function iconv() in /in/WgZJj on line 4
Process exited with code 255.
Output for 5.3.18 - 5.5.34
Notice: iconv(): Detected an illegal character in input string in /in/WgZJj on line 4 瑞思学科英语