3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (mb_list_encodings() as $encoding) { echo $encoding, ': ', bin2hex(mb_convert_encoding('รถ', $encoding, 'UTF-8')), PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
BASE64: Deprecated: mb_convert_encoding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in /in/u9sq8 on line 4 7737593d UUENCODE: Deprecated: mb_convert_encoding(): Handling Uuencode via mbstring is deprecated; use convert_uuencode/convert_uudecode instead in /in/u9sq8 on line 4 626567696e20303634342066696c656e616d650a215d4060600a HTML-ENTITIES: Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /in/u9sq8 on line 4 266f756d6c3b Quoted-Printable: Deprecated: mb_convert_encoding(): Handling QPrint via mbstring is deprecated; use quoted_printable_encode/quoted_printable_decode instead in /in/u9sq8 on line 4 3d43333d4236 7bit: 3f 8bit: f6 UCS-4: 000000f6 UCS-4BE: 000000f6 UCS-4LE: f6000000 UCS-2: 00f6 UCS-2BE: 00f6 UCS-2LE: f600 UTF-32: 000000f6 UTF-32BE: 000000f6 UTF-32LE: f6000000 UTF-16: 00f6 UTF-16BE: 00f6 UTF-16LE: f600 UTF-8: c3b6 UTF-7: 2b4150592d UTF7-IMAP: 264150592d ASCII: 3f EUC-JP: 8fabd3 SJIS: 3f eucJP-win: 8fabd3 EUC-JP-2004: a9ec SJIS-Mobile#DOCOMO: 3f SJIS-Mobile#KDDI: 3f SJIS-Mobile#SOFTBANK: 3f SJIS-mac: 3f SJIS-2004: 858c UTF-8-Mobile#DOCOMO: c3b6 UTF-8-Mobile#KDDI-A: c3b6 UTF-8-Mobile#KDDI-B: c3b6 UTF-8-Mobile#SOFTBANK: c3b6 CP932: 3f SJIS-win: 3f CP51932: 3f JIS: 1b2428442b531b2842 ISO-2022-JP: 3f ISO-2022-JP-MS: 3f GB18030: 81308b32 Windows-1252: f6 Windows-1254: f6 ISO-8859-1: f6 ISO-8859-2: f6 ISO-8859-3: f6 ISO-8859-4: f6 ISO-8859-5: 3f ISO-8859-6: 3f ISO-8859-7: 3f ISO-8859-8: 3f ISO-8859-9: f6 ISO-8859-10: f6 ISO-8859-13: f6 ISO-8859-14: f6 ISO-8859-15: f6 ISO-8859-16: f6 EUC-CN: 3f CP936: 3f HZ: 3f EUC-TW: 3f BIG-5: 3f CP950: 3f EUC-KR: 3f UHC: 3f ISO-2022-KR: 1b2429433f Windows-1251: 3f CP866: 3f KOI8-R: 3f KOI8-U: 3f ArmSCII-8: 3f CP850: 94 ISO-2022-JP-2004: 1b242851296c1b2842 ISO-2022-JP-MOBILE#KDDI: 3f CP50220: 3f CP50221: 3f CP50222: 3f

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:
39.07 ms | 405 KiB | 8 Q