Create a PHP script to check whether a string contains balanced parentheses.
MediumProblem Statement
Create a PHP script to check whether a string contains balanced parentheses.
Sample Input
"(a+b)*(c-d)"
Sample Output
false
Limits
Time: 2s · Memory: 256 MB