3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $filename= "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_öiseid_külastajaid"; $replace = array('ä', 'ü', 'ö', 'õ', ' ', ':' ); $with = array('a', 'y', 'o', '6', '_', '_' ); var_dump(mb_strtolower($filename)); var_dump(mb_strpos('ö',mb_strtolower($filename))); $filename = mb_str_replace($replace, $with , mb_strtolower($filename)); var_dump($filename);
Output for 7.0.0 - 7.1.0
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_öiseid_külastajaid" bool(false) Fatal error: Uncaught Error: Call to undefined function mb_str_replace() in /in/jJplq:7 Stack trace: #0 {main} thrown in /in/jJplq on line 7
Process exited with code 255.
Output for 5.6.7 - 5.6.28, hhvm-3.12.0
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_öiseid_külastajaid" bool(false) Fatal error: Call to undefined function mb_str_replace() in /in/jJplq on line 7
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.5.35
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_o�iseid_ku�lastajaid" bool(false) Fatal error: Call to undefined function mb_str_replace() in /in/jJplq on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_o�iseid_ku�lastajaid" bool(false) Fatal error: Call to undefined function: mb_str_replace() in /in/jJplq on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_o�iseid_ku�lastajaid" bool(false) Fatal error: Call to undefined function: mb_str_replace() in /in/jJplq on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
string(111) "1404985656_2014-07-08_12_00__vikerraadio__vikerraadio-uudised__elistvere_loomapark_ootab_o�iseid_ku�lastajaid" bool(false) Fatal error: Call to undefined function: mb_str_replace() in /in/jJplq on line 7