3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = ["test", "test2", "test3"]; var_export( substr_replace($myarray, ' ', 0, 0) );

preferences:
30.54 ms | 405 KiB | 5 Q