3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
185.57 ms | 1605 KiB | 10 Q