3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Théodore Roszak"; #$iso88591_1 = utf8_decode($text); $conversion = iconv('UTF-8', 'ISO-8859-1', $iso88591_1); echo 'result:'.$conversion;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $iso88591_1 in /in/mPXnH on line 5 Deprecated: iconv(): Passing null to parameter #3 ($string) of type string is deprecated in /in/mPXnH on line 5 Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1" is not allowed in /in/mPXnH on line 5 result:

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