3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "=?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@example.com>"; $elements = imap_mime_header_decode($text); for ($i=0; $i<count($elements); $i++) { echo "Charset: {$elements[$i]->charset}\n"; echo "Text: {$elements[$i]->text}\n\n"; } ?>
based on QmtqJ
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function imap_mime_header_decode() in /in/8sH48:4 Stack trace: #0 {main} thrown in /in/8sH48 on line 4
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function imap_mime_header_decode() in /in/8sH48 on line 4
Process exited with code 255.