reset() takes a reference to an array (variable) so it will not work with the result of a function call.
You need to do something like this:
$arr = explode('/', $new_uri);
$page = reset($arr);
However, the array returned by explode()
will already have its internal pointer set to the first element. You shouldn't need to call reset at all.