3v4l.org

run code in 500+ 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 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:
65.46 ms | 2747 KiB | 4 Q