3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "this.is.a.test.to.see.how.preg_split.can.be.used.for.this"; var_export( preg_split( '/\.[^.]*\K\./', $string, 0, PREG_SPLIT_NO_EMPTY ) );

preferences:
46.76 ms | 402 KiB | 5 Q