3v4l.org

run code in 300+ PHP versions simultaneously
<?php $invalid_utf8="\xF5\x80\x80\x80PHP"; $should_be_valid_utf8=iconv("UTF-8","UTF-8//IGNORE",$invalid_utf8); var_dump($should_be_valid_utf8,bin2hex($should_be_valid_utf8),mb_check_encoding($should_be_valid_utf8));
Output for git.master, git.master_jit, rfc.property-hooks
string(7) "����PHP" string(14) "f5808080504850" bool(false)

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