3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "The bass can access the river's delta from the ocean. The fishermen, assassins, and their friends are happy on the banks"; var_export(preg_replace("~'?(?<!s)s\b~", '', $string));

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
159.45 ms | 1884 KiB | 10 Q