3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "test sample test: 2015. ŽYDRŪNAS PAVARDENIS"; preg_match_all("/[[:upper:]]+/u", $string, $matches); var_dump($matches);

This is an error 500

There are `>1` results


preferences:
135.05 ms | 999 KiB | 7 Q