3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(false === setlocale(LC_CTYPE, 'en_US')){ throw new \RuntimeException('Could not change the locale'); } echo iconv('UTF-8', 'ASCII//TRANSLIT', 'Jalapeño Café');

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
174.95 ms | 1599 KiB | 9 Q