3v4l.org

run code in 300+ PHP versions simultaneously
<?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");
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "gb2312" to "UTF-8" is not allowed in /in/WgZJj on line 4 瑞思学科英语

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.59 ms | 401 KiB | 8 Q