3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '你好'; $input_encoding = 'GBK'; $str_gb = iconv($input_encoding, 'GBK', true); echo sprintf("gb encoding :%s\n", $str_gb); echo sprintf("gb encoding md5:%s\n", md5($str_gb));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "GBK" to "GBK" is not allowed in /in/vTopL on line 4 gb encoding : gb encoding md5:d41d8cd98f00b204e9800998ecf8427e

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:
33.68 ms | 401 KiB | 8 Q