Method | Description | |
---|---|---|
replaceBetween ( string $haystack, string $needle, Closure $replacementMethod ) : string | Replace the $needle strings within the $haystack with whatever the $replacementMethod tells us. Replacement method will be given a $between variable |
Method | Description | |
---|---|---|
closetag ( string $str ) : char | Gets the closing tag for a string | |
escaped ( string $str ) : integer | Gets escaped string. If the string has '\' char then it is considered to be escaped. | |
opentag ( string $str ) : char | Gets opening tag for a string |