3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "\xE1\x8D\x9F\x86"; preg_match_all( '/\X/u' , $string , $matches , PREG_SET_ORDER ); print_r($matches); preg_match_all( '/./u' , $string , $matches1 , PREG_SET_ORDER ); print_r($matches1); exit(0);

preferences:
40.27 ms | 402 KiB | 5 Q