3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/[^a-z0-9]+/u','-',preg_replace('/[\x{0300}-\x{036F}\x{1AB0}-\x{1AFF}\x{1DC0}-\x{1DFF}\x{20D0}-\x{20FF}\x{FE20}-\x{FE2F}]+/u','',mb_tolower(mb_toupper(Normalizer::normalize("eradasdşğüğşşç.öç",Normalizer::FORM_KD)))));
based on cAvb9
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mb_tolower() in /in/264aI:2 Stack trace: #0 {main} thrown in /in/264aI on line 2
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function mb_tolower() in /in/264aI on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected ')', expecting '(' in /in/264aI on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected ')', expecting '(' in /in/264aI on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'('' in /in/264aI on line 2
Process exited with code 255.