为什么未定义偏移量:代码中第4行的0。有人帮忙。
下面是我的代码:
<?php
session_start();
$sesiData = !empty($_SESSION['sesiData'])?$_SESSION['sesiData']:'';
if(!empty($sesiData['status']['msg'])){
$statusPsn = $sesiData['status']['msg'];
$jenisStatusPsn = $sesiData['status']['type'];
unset($_SESSION['sesiData']['status']);
}
?>