parametre_url does not extract arguments
parametre_url should extract an argument when it receives only two arguments
$val_obj = parametre_url($url,'id_obj');
Now it returns the $url deleting id_obj if present.
This is wrong as this result is expected when writing
$new_url = parametre_url($url,'id_obj',_);