3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ss = "\u{DF}"; var_dump(utf8_decode(addslashes("\xf0\xc0\xc0\xa7 or 1=1-- -"))); $tests = array( "\x41\xC2\x3E\x42", "\xE3\x80\x22", "\x41\x98\xBA\x42\xE2\x98\x43\xE2\x98\xBA\xE2\x98", ); foreach ($tests as $t) { var_dump(bin2hex(utf8_decode($t))); } echo "Done.\n";
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Function utf8_decode() is deprecated in /in/ciMRU on line 4 string(12) "? or 1=1-- -" Deprecated: Function utf8_decode() is deprecated in /in/ciMRU on line 12 string(8) "413f3e42" Deprecated: Function utf8_decode() is deprecated in /in/ciMRU on line 12 string(4) "3f22" Deprecated: Function utf8_decode() is deprecated in /in/ciMRU on line 12 string(16) "413f3f423f433f3f" Done.

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:
45.23 ms | 402 KiB | 8 Q