3v4l.org

run code in 500+ PHP versions simultaneously
<?php $word = 'umweltfreundilch'; //real life example :/ preg_match('/^(?U)(.*[aeiouyäöü][^aeiouyäöü])(.*)$/Xu', $word, $matches); var_dump($matches);

preferences:
78.83 ms | 1613 KiB | 5 Q