3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_split("/a/u", "a\xff"), preg_match("/a/u", "a\xff", $matches), $matches );

preferences:
89.02 ms | 413 KiB | 14 Q