In risk of sparking an opinionated discussion I ask the following:
Is it considered bad practice to re-declare $_POST and $_GET variables inside a PHP script?
I.e.
$_POST['var'] = 'someValue';
$_GET['var'] = '';
The reason is emptying variables on certain instances and thus avoiding reloading page and risk of sending headers multiple times.