3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Please join me in this prayer. &#55357;&#56911;&#10084;&#65039;"; var_export( preg_replace_callback( "/&#(\d{5});&#(\d{5});/", function($m) { return iconv("UTF-16BE", "UTF-8", hex2bin(dechex($m[1]) . dechex($m[2]))); }, $str ) );
Output for git.master_jit, git.master, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-16BE" to "UTF-8" is not allowed in /in/DZSJ6 on line 8 Warning: iconv(): Wrong encoding, conversion from "UTF-16BE" to "UTF-8" is not allowed in /in/DZSJ6 on line 8 'Please join me in this prayer. '

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:
106.96 ms | 406 KiB | 5 Q