3v4l.org

run code in 300+ PHP versions simultaneously
<?php $split_point = ' - '; $string = 'this is my - string - and more'; var_export( array_map('strrev', explode($split_point, strrev($string))) );

preferences:
35.5 ms | 407 KiB | 5 Q