<?php $array = ["key" => "value"]; echo $sanitizer->isAssociative($array) ? "true" : "fale";
info at phpclasses dot org