public static function isDynamic($glob)
    {
        return false !== strpos($glob, '*') || false !== strpos($glob, '{') || false !== strpos($glob, '?') || false !== strpos($glob, '[');
    }
public static function isDynamic($glob)
    {
        return false !== strpos($glob, '*') || false !== strpos($glob, '{') || false !== strpos($glob, '?') || false !== strpos($glob, '[');
    }
public static function isDynamic ( $ glob ) { return false !== strpos ( $ glob , '*' ) || false !== strpos ( $ glob , '{' ) || false !== strpos ( $ glob , '?' ) || false !== strpos ( $ glob , '[' ) ; }
Returns whether the glob contains a dynamic part.

The glob contains a dynamic part if it contains an unescaped "*" or
"{" character.

@param string $glob The glob to test.

@return bool Returns `true` if the glob contains a dynamic part and
`false` otherwise.
Returns whether the glob contains a dynamic part .