Write a PHP script to find the longest palindrome substring in a given string.
MediumProblem Statement
Write a PHP script to find the longest palindrome substring in a given string.
Sample Input
babad
Sample Output
bab
Limits
Time: 2s · Memory: 256 MB