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:
74.4 ms | 1588 KiB | 5 Q