3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/^\-/','',preg_replace('/\-$/u','',preg_replace('/\-+/u','',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_strtolower(mb_strtoupper(Normalizer::normalize("er.,,adasdşğüğşşç.u88&/()/%&%.,,öçıııpoadfk asdfdfg-----dfgd09989)=)=)()&/&//)(=))=",Normalizer::FORM_KD)))))))));
based on kkQNa
Output for 5.1.0 - 5.4.32
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/KmA8o on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected ')', expecting ',' or ';' in /in/KmA8o on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected ')', expecting '(' in /in/KmA8o 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/KmA8o on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'('' in /in/KmA8o on line 2
Process exited with code 255.