3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $striing = mb_convert_encoding ( "Le’Xpress" , "ISO8859-1"); $striing = mb_convert_encoding ( "Le'Xpress 18/8 Stainless Steel Teapot 2 litre (70oz) Twelve Cup" , "ISO-8859-1"); echo json_encode($striing);
based on 1cIu6
Output for 5.2.0 - 7.2.0
Warning: mb_convert_encoding(): Unknown encoding "ISO8859-1" in /in/N0XWX on line 3 "Le'Xpress 18\/8 Stainless Steel Teapot 2 litre (70oz) Twelve Cup"
Output for 5.0.0 - 5.1.6
Warning: mb_convert_encoding(): Unknown encoding "ISO8859-1" in /in/N0XWX on line 3 Fatal error: Call to undefined function json_encode() in /in/N0XWX on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: mb_convert_encoding(): Unknown encoding "ISO8859-1" in /in/N0XWX on line 3 Fatal error: Call to undefined function: json_encode() in /in/N0XWX on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: mb_convert_encoding(): Unknown encoding "ISO8859-1" in /in/N0XWX on line 3 Fatal error: Call to undefined function: json_encode() in /in/N0XWX on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: mb_convert_encoding() [http://www.php.net/function.mb-convert-encoding]: Unknown encoding "ISO8859-1" in /in/N0XWX on line 3 Fatal error: Call to undefined function: json_encode() in /in/N0XWX on line 7