<?php $str1 = "aaa"; $str2 = "zz"; $s1 = mb_strlen($str1) > mb_strlen($str2) ? $str2 : $str1; echo $s1; ?>
You have javascript disabled. You will not be able to edit any code.