<?php $pismena = "ABA"; echo array_filter(count_chars($pismena, 1), function($c) { return $c > 1; })[65];
You have javascript disabled. You will not be able to edit any code.