3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_substitute_character("long"); var_dump( $conv = mb_convert_encoding( $bin = hex2bin("70000000"), "UTF-8", "UCS-4BE" ), mb_check_encoding($bin, "UCS-4BE"), bin2hex(mb_convert_encoding($conv, "UCS-4BE", "UTF-8")) );
Output for git.master, git.master_jit, rfc.property-hooks
string(10) "U+70000000" bool(true) string(80) "000000550000002b0000003700000030000000300000003000000030000000300000003000000030"

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:
29.87 ms | 405 KiB | 5 Q