3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_CTYPE, 'nl_BE.utf8'); $input = "beëindigén van +!#$% ahs !"; echo rtrim( preg_replace('/([^a-z0-9]+)/', '-', strtolower( iconv('UTF-8', 'ISO-8859-1//TRANSLIT//IGNORE', $input ) ) ) ), '-');
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/uGIPP on line 15
Process exited with code 255.

preferences:
191.11 ms | 1395 KiB | 60 Q