3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Sorry that meant to say hungover and feeling sorry for myself. 😩"; $str = "I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀ðŸ˜"; foreach(mb_list_encodings() as $chr){ echo mb_convert_encoding($str, 'UTF-8', $chr)." : ".$chr."<br>"; } //echo mb_convert_encoding($str, "UTF-8"); //$pattern = '/[😩]/i'; // $str = preg_replace($pattern, '', $str); // echo $str;
Output for git.master, git.master_jit, rfc.property-hooks
!Ƨ���v�m????���礢w"��޶׬???????׭���?��(�W`���X�k'��Z???????????????? : BASE64<br> : UUENCODE<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: HTML-ENTITIES<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: Quoted-Printable<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : 7bit<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: 8bit<br>????????????????????????????? : UCS-4<br>????????????????????????????? : UCS-4BE<br>????????????????????????????? : UCS-4LE<br>䤠捡渠獰敮搠異瑯⃃苂ꌴ〠愠睥敫渠捩条牥瑴敳‮⸮⃃苂ꌱ㘰⁡潮瑨⸠䤠捯畬搠杯渠桯汩摡礠景爠瑨慴‮⸮⃃ꋋ鳢芬쎰언쮜 : UCS-2<br>䤠捡渠獰敮搠異瑯⃃苂ꌴ〠愠睥敫渠捩条牥瑴敳‮⸮⃃苂ꌱ㘰⁡潮瑨⸠䤠捯畬搠杯渠桯汩摡礠景爠瑨慴‮⸮⃃ꋋ鳢芬쎰언쮜 : UCS-2BE<br>⁉慣灳湥⁤灵潴쌠슂㒣‰⁡敷步漠楣慧敲瑴獥⸠⸮쌠슂ㆣ〶愠洠湯桴‮⁉潣汵⁤潧漠潨楬慤⁹潦⁲桴瑡⸠⸮쌠쮢겂냃룅鳋 : UCS-2LE<br>????????????????????????????? : UTF-32<br>????????????????????????????? : UTF-32BE<br>????????????????????????????? : UTF-32LE<br>䤠捡渠獰敮搠異瑯⃃苂ꌴ〠愠睥敫渠捩条牥瑴敳‮⸮⃃苂ꌱ㘰⁡潮瑨⸠䤠捯畬搠杯渠桯汩摡礠景爠瑨慴‮⸮⃃ꋋ鳢芬쎰언쮜 : UTF-16<br>䤠捡渠獰敮搠異瑯⃃苂ꌴ〠愠睥敫渠捩条牥瑴敳‮⸮⃃苂ꌱ㘰⁡潮瑨⸠䤠捯畬搠杯渠桯汩摡礠景爠瑨慴‮⸮⃃ꋋ鳢芬쎰언쮜 : UTF-16BE<br>⁉慣灳湥⁤灵潴쌠슂㒣‰⁡敷步漠楣慧敲瑴獥⸠⸮쌠슂ㆣ〶愠洠湯桴‮⁉潣汵⁤潧漠潨楬慤⁹潦⁲桴瑡⸠⸮쌠쮢겂냃룅鳋 : UTF-16LE<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: UTF-8<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : UTF-7<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : UTF7-IMAP<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : ASCII<br>I can spend upto ?贈40 a week on cigarettes ... ?贈160 a month. I could go on holiday for that ... 但???暗庫? : EUC-JP<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS<br>I can spend upto ?贈40 a week on cigarettes ... ?贈160 a month. I could go on holiday for that ... 但???暗庫? : eucJP-win<br>I can spend upto ?贈40 a week on cigarettes ... ?贈160 a month. I could go on holiday for that ... 但??ⓒ暗庫? : EUC-JP-2004<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-Mobile#DOCOMO<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-Mobile#KDDI<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-Mobile#SOFTBANK<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-mac<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-2004<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: UTF-8-Mobile#DOCOMO<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: UTF-8-Mobile#KDDI-A<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: UTF-8-Mobile#KDDI-B<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: UTF-8-Mobile#SOFTBANK<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : CP932<br>I can spend upto テつ」40 a week on cigarettes ... テつ」160 a month. I could go on holiday for that ... テ「ヒ懌ぎテーナクヒ? : SJIS-win<br>I can spend upto ?贈40 a week on cigarettes ... ?贈160 a month. I could go on holiday for that ... 但???暗庫? : CP51932<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : JIS<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : ISO-2022-JP<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : ISO-2022-JP-MS<br>I can spend upto 脗拢40 a week on cigarettes ... 脗拢160 a month. I could go on holiday for that ... 芒藴鈧芭杆? : GB18030<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: Windows-1252<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: Windows-1254<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: ISO-8859-1<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: ISO-8859-2<br>I can spend upto ?‚£40 a week on cigarettes ... ?‚£160 a month. I could go on holiday for that ... ?˘Ëœâ‚Ĵ?°Ċ¸Ëœ : ISO-8859-3<br>I can spend upto ÂÂŖ40 a week on cigarettes ... ÂÂŖ160 a month. I could go on holiday for that ... Ãĸ˜â‚Ŧ😠: ISO-8859-4<br>I can spend upto У‚ТЃ40 a week on cigarettes ... У‚ТЃ160 a month. I could go on holiday for that ... УЂЫœт‚ЌУАХИЫœ : ISO-8859-5<br>I can spend upto أ‚آ?40 a week on cigarettes ... أ‚آ?160 a month. I could go on holiday for that ... أ?ثœق‚،أ?إ?ثœ : ISO-8859-6<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... Γ’Λœβ‚¬Γ°ΕΈΛœ : ISO-8859-7<br>I can spend upto ?‚?£40 a week on cigarettes ... ?‚?£160 a month. I could go on holiday for that ... ?¢?œג‚¬?°?¸?œ : ISO-8859-8<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: ISO-8859-9<br>I can spend upto ÂÂĢ40 a week on cigarettes ... ÂÂĢ160 a month. I could go on holiday for that ... ÃĒ˜₎ðÅļ˜ : ISO-8859-10<br>I can spend upto ƂĀ£40 a week on cigarettes ... ƂĀ£160 a month. I could go on holiday for that ... Ć¢Ėœā‚¬Ć°ÅøĖœ : ISO-8859-13<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... Ãḃ˜â‚ỲÃḞÅẁ˜ : ISO-8859-14<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀ðޘ : ISO-8859-15<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ñ˜€ðƾ˜ : ISO-8859-16<br>I can spend upto ?拢40 a week on cigarettes ... ?拢160 a month. I could go on holiday for that ... 芒???冒鸥? : EUC-CN<br>I can spend upto 脗拢40 a week on cigarettes ... 脗拢160 a month. I could go on holiday for that ... 芒藴鈧芭杆? : CP936<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : HZ<br>I can spend upto ??␂40 a week on cigarettes ... ??␂160 a month. I could go on holiday for that ... ?㏒?????尤? : EUC-TW<br>I can spend upto ?瞿40 a week on cigarettes ... ?瞿160 a month. I could go on holiday for that ... 璽??珍剪裝? : BIG-5<br>I can spend upto ?瞿40 a week on cigarettes ... ?瞿160 a month. I could go on holiday for that ... 璽??珍剪裝? : CP950<br>I can spend upto ?짙40 a week on cigarettes ... ?짙160 a month. I could go on holiday for that ... 창???거맷? : EUC-KR<br>I can spend upto 횂짙40 a week on cigarettes ... 횂짙160 a month. I could go on holiday for that ... 창???거맷? : UHC<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : ISO-2022-KR<br>I can spend upto £40 a week on cigarettes ... £160 a month. I could go on holiday for that ... ☀😠: Windows-1251<br>I can spend upto ├В┬г40 a week on cigarettes ... ├В┬г160 a month. I could go on holiday for that ... ├в╦ЬтВм├░┼╕╦Ь : CP866<br>I can spend upto ц┌бё40 a week on cigarettes ... ц┌бё160 a month. I could go on holiday for that ... ц╒к°Б┌╛ц╟е╦к° : KOI8-R<br>I can spend upto ц┌бё40 a week on cigarettes ... ц┌бё160 a month. I could go on holiday for that ... ц╒к°Б┌╛ц╟е╦к° : KOI8-U<br>I can spend upto թ‚Թ։40 a week on cigarettes ... թ‚Թ։160 a month. I could go on holiday for that ... թևխœՉ‚-թ՛ժԴխœ : ArmSCII-8<br>I can spend upto ├é┬ú40 a week on cigarettes ... ├é┬ú160 a month. I could go on holiday for that ... ├ó╦£Ôé¼├░┼©╦£ : CP850<br>I can spend upto ????40 a week on cigarettes ... ????160 a month. I could go on holiday for that ... ????????????? : ISO-2022-JP-2004<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : ISO-2022-JP-MOBILE#KDDI<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : CP50220<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : CP50221<br>I can spend upto テ?ツ」40 a week on cigarettes ... テ?ツ」160 a month. I could go on holiday for that ... テ「ヒ???ャテーナクヒ? : CP50222<br>

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:
42.24 ms | 425 KiB | 8 Q