3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = " x"; var_dump(iconv_mime_decode($string, 0, 'UTF-8'));
based on S0CQH
Output for 5.6.0 - 5.6.20, 7.0.0 - 7.0.5, 7.0.20 - 7.3.0beta1
string(2) " x"
Output for 7.0.6 - 7.0.9
Fatal error: Uncaught Error: Call to undefined function iconv_mime_decode() in /in/vLmpH:5 Stack trace: #0 {main} thrown in /in/vLmpH on line 5
Process exited with code 255.
Output for 5.6.21 - 5.6.23
Fatal error: Call to undefined function iconv_mime_decode() in /in/vLmpH on line 5
Process exited with code 255.