Skip to content
Advertisement

PHP check if string contains brackets

I just want to build a php function that checking if string is contain brackets and return boolean, anyone can help?

example:

JavaScript

Advertisement

Answer

Check this

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement