- print_r: documentation ( source)
- array_replace: documentation ( source)
<?php
$SESSION=array();
$POST=array();
$SESSION[0]='asd';
$SESSIONS[1]='bsa';
$POST['auth']='ololo';
$POST['auth1']='ololos';
$SESSION = array_replace($SESSION, $POST);
print_r($SESSION);