<?php $str = "http://teamhi.local/index.php?url=aaa"; rtrim($str,'/'); $arr = explode('/',$str); print_r($arr); echo $str;
You have javascript disabled. You will not be able to edit any code.