>_
longest_common_prefix.php
PHP 8.5
Not run yet

+ 7 hidden

Input
strs = ["interval", "internet", "interior"]
Expected
"inter"

All three start with inter; at index 5 the characters are v, n and i.