how to configure brackets for php code example Example: add brackets to string php $withbrackets = '[' . $strName . ']';