This is an error 404
There are `0` results
preferences:
143.23 ms | 1399 KiB | 7 Q<?php
function match($haystack, $needle) {
return strpos($haystack, $needle) !== FALSE;
}
function remove($haystack, $needle) {
return preg_replace("/{$needle}/", "", $needle) !== FALSE;
}
assert(remove("test string", "test") == " string");
assert(remove("string test test string", " test ") == "stringtest string");