<?php $allowed_html = [ 'div' => [ 'class' => true ], ]; $elem = 'DIV'; var_dump( ( ! isset( $allowed_html[ $elem ] ) ) ); var_dump( ( ! isset( $allowed_html[ strtolower( $elem ) ] ) ) );
You have javascript disabled. You will not be able to edit any code.