3v4l.org

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

preferences:
34.92 ms | 402 KiB | 5 Q