PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $uri = '/test/test/test/test/test'; preg_match_all('/\/{2,}/', $uri, $match); $validateUri = str_replace($match[0], '/', $uri); echo '<pre>'; print_r($match); die;
Show:  
Copy Clear