- var_dump: documentation ( source)
<?php
$myArray = array(
'att' => array(
841 => 'on_time',
842 => 'not_time',
843 => 'not_time',
),
'entatt' => array(
841 => 'unexcused',
842 => 'unexcused',
843 => 'late',
),
);
$result = $myArray['att'] + $myArray['entatt'];
var_dump($result);