<?php $str = 'Bar\Foo\Baz'; echo min(ceil(strlen($str) / 10), 3);
You have javascript disabled. You will not be able to edit any code.